/* ==========================================================================
   南京耐斯龙电气科技有限公司 · 外贸官网样式
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-2: #123a68;
  --blue: #2e7df7;
  --blue-dark: #1b62cc;
  --ink: #10203a;
  --body: #3f5068;
  --muted: #6b7c93;
  --line: #e3e8f0;
  --line-2: #eef2f7;
  --soft: #f5f7fa;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 58, .06);
  --shadow: 0 6px 24px rgba(16, 32, 58, .08);
  --shadow-lg: 0 18px 48px rgba(11, 37, 69, .16);
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Kufi Arabic",
    Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}

h1 { font-size: 46px; }
h2 { font-size: 34px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 14px; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-dark); }

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

ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 60px 0; }

.section-head { max-width: 760px; margin: 0 0 46px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(46, 125, 247, .28); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(46, 125, 247, .34); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eef4ff; color: var(--navy); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.link-arrow { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "\2192"; transition: transform .2s ease; }
[dir="rtl"] .link-arrow::after { content: "\2190"; }
.link-arrow:hover::after { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }

/* ---------------------------------------------------------------- Top bar */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 14px; height: 14px; opacity: .7; flex: none; }

/* ------------------------------------------------------------ Lang switch */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .88); font: inherit; font-size: 13px;
  padding: 4px 11px; border-radius: 4px; cursor: pointer; transition: all .2s ease;
}
.lang__btn:hover { border-color: rgba(255, 255, 255, .65); color: #fff; }
.lang__btn svg { width: 14px; height: 14px; }
.lang__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 150px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 6px; z-index: 60; display: none;
}
.lang.is-open .lang__menu { display: block; }
.lang__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: start; background: transparent; border: 0; font: inherit;
  font-size: 14px; color: var(--ink); padding: 9px 12px; border-radius: 4px; cursor: pointer;
}
.lang__opt:hover { background: var(--soft); }
.lang__opt.is-active { color: var(--blue); font-weight: 600; background: #eef4ff; }

/* ---------------------------------------------------------------- Header */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(16, 32, 58, .09); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 42px; height: 42px; flex: none; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(46, 125, 247, .3);
}
/* 图片版 LOGO（版本4.3.1 起） */
.logo__mark--img {
  width: auto; height: 46px; padding: 0;
  background: none; box-shadow: none; border-radius: 0;
  object-fit: contain;
}
.footer__brand .logo__mark--img {
  height: 52px; background: #fff; border-radius: 10px; padding: 5px 8px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: .01em; }
.logo__sub { font-size: 11px; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 16px; font-size: 15px; font-weight: 600;
  color: var(--ink); border-radius: 4px; transition: color .2s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: center; transition: transform .22s ease;
}
.nav__link:hover { color: var(--blue); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after { transform: scaleX(1); }

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

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 6px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 80;
  background: rgba(11, 37, 69, .55); backdrop-filter: blur(2px);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__panel {
  position: absolute; inset-inline-end: 0; top: 0; bottom: 0; width: min(320px, 86vw);
  background: #fff; padding: 22px; overflow-y: auto;
  box-shadow: -12px 0 40px rgba(11, 37, 69, .22);
}
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav__close { background: transparent; border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.mobile-nav__link {
  display: block; padding: 13px 4px; font-size: 16px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav__link.is-active { color: var(--blue); }
.mobile-nav .btn { margin-top: 22px; }
.mobile-lang { display: flex; gap: 8px; margin-top: 20px; }
.mobile-lang button {
  flex: 1; padding: 9px; border: 1px solid var(--line); background: #fff; border-radius: 5px;
  font: inherit; font-size: 14px; color: var(--ink); cursor: pointer;
}
.mobile-lang button.is-active { border-color: var(--blue); color: var(--blue); background: #eef4ff; font-weight: 600; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 26, 48, .94) 0%, rgba(8, 26, 48, .78) 42%, rgba(8, 26, 48, .38) 100%);
}
[dir="rtl"] .hero__media::after {
  background: linear-gradient(-100deg, rgba(8, 26, 48, .94) 0%, rgba(8, 26, 48, .78) 42%, rgba(8, 26, 48, .38) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 104px 0; max-width: 720px; }
.hero__eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #7fb2ff; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: 52px; margin-bottom: 20px; }
.hero__sub { color: rgba(255, 255, 255, .8); font-size: 17px; max-width: 620px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----------------------------------------------------------------- Stats */
.stats { position: relative; z-index: 3; margin-top: -58px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.stat { background: #fff; padding: 30px 22px; text-align: center; }
.stat__value { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.stat__label { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ------------------------------------------------------------ Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .26s ease; color: inherit;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfe0fb; color: inherit; }
.cat-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__body { padding: 20px 20px 22px; }
.cat-card__body h3 { font-size: 17px; margin-bottom: 8px; }
.cat-card__body p { font-size: 14px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card__more { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--blue); }

/* ----------------------------------------------------------- About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body h2 { margin-bottom: 16px; }
.checklist { margin: 22px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--body); }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--blue); }

/* ----------------------------------------------------------- Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: all .26s ease;
}
.adv-card:hover { border-color: #cfe0fb; box-shadow: var(--shadow); transform: translateY(-4px); }
.adv-card__icon {
  width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: #eef4ff; color: var(--blue); margin-bottom: 18px;
}
.adv-card__icon svg { width: 24px; height: 24px; }
.adv-card h3 { font-size: 17px; margin-bottom: 9px; }
.adv-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------- Quality band */
.band { background: var(--navy); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(46, 125, 247, .35) 0%, transparent 68%);
}
.band .container { position: relative; z-index: 2; }
.band h2 { color: #fff; }
.band .section-head p { color: rgba(255, 255, 255, .7); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.band-item { border-top: 2px solid rgba(255, 255, 255, .16); padding-top: 20px; }
.band-item h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.band-item p { font-size: 14px; color: rgba(255, 255, 255, .68); margin: 0; }

/* -------------------------------------------------------------- CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 58%, var(--blue-dark) 130%);
  color: #fff; border-radius: var(--radius-lg); padding: 54px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 560px; }

/* ---------------------------------------------------------------- Footer */
.footer { background: #071c36; color: rgba(255, 255, 255, .62); padding: 68px 0 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 20px; letter-spacing: .02em; }
.footer a { color: rgba(255, 255, 255, .62); }
.footer a:hover { color: #fff; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .logo__mark { box-shadow: none; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: rgba(255, 255, 255, .5); }
.footer__desc { margin-bottom: 0; }
.footer__list li { margin-bottom: 11px; }
.footer__list a { display: inline-block; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 13px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; opacity: .55; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255, 255, 255, .48);
}

/* ------------------------------------------------------------ Page hero */
.page-hero {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  padding: 74px 0 66px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 300px at 82% 10%, rgba(46, 125, 247, .38), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 40px; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .74); margin: 0; max-width: 720px; font-size: 16.5px; }
.breadcrumb { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .58); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb span { opacity: .5; }

/* --------------------------------------------------------------- Profile */
.prose { max-width: 860px; }
.prose p { font-size: 16.5px; color: var(--body); margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px; }
.mv-card__icon { width: 46px; height: 46px; border-radius: 10px; background: #eef4ff; color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mv-card__icon svg { width: 22px; height: 22px; }
.mv-card h3 { margin-bottom: 10px; }
.mv-card p { margin: 0; color: var(--muted); font-size: 15px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; }
.info-card h4 { margin-bottom: 10px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------------------- Timeline */
.timeline { position: relative; padding-inline-start: 26px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; inset-inline-start: -26px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--blue);
}
.timeline__year { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
.timeline__text { color: var(--body); font-size: 15.5px; }

/* -------------------------------------------------------------- Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter {
  padding: 9px 20px; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  font: inherit; font-size: 14.5px; font-weight: 500; color: var(--body); cursor: pointer; transition: all .2s ease;
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }

/* --------------------------------------------------------- Product grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: all .26s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfe0fb; }
.product-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.product-card h3 { font-size: 17px; margin-bottom: 9px; }
.product-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; flex: 1; }
.product-card__actions { display: flex; gap: 10px; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--soft); }

/* -------------------------------------------------------- Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.gallery__main { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery__thumb { width: 82px; height: 82px; border-radius: 6px; overflow: hidden; border: 2px solid var(--line); cursor: pointer; padding: 0; background: var(--soft); }
.gallery__thumb.is-active { border-color: var(--blue); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail__tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; display: block; }
.detail h1 { font-size: 30px; }
.detail__summary { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.spec-table th, .spec-table td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 42%; color: var(--muted); font-weight: 500; background: var(--soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.detail-block { margin-top: 40px; }
.detail-block h3 { padding-bottom: 12px; border-bottom: 2px solid var(--line); margin-bottom: 18px; }

/* ---------------------------------------------------------------- Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: #e5484d; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46, 125, 247, .14);
}
.field .hint { font-size: 12.5px; color: var(--muted); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #e5484d; }
.field .err { font-size: 12.5px; color: #e5484d; display: none; }
.field.has-error .err { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { border-radius: var(--radius); padding: 14px 18px; font-size: 14.5px; margin-bottom: 20px; display: none; }
.alert.is-visible { display: block; }
.alert--ok { background: #e9f7ef; border: 1px solid #b7e4c7; color: #1b6b3a; }
.alert--err { background: #fdecec; border: 1px solid #f5c2c2; color: #a02020; }

/* -------------------------------------------------------------- Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 44px; align-items: start; }
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.contact-item__icon { width: 44px; height: 44px; flex: none; border-radius: 10px; background: #eef4ff; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.contact-item__icon svg { width: 21px; height: 21px; }
.contact-item h4 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .05em; }
.contact-item p { margin: 0; color: var(--ink); font-size: 15.5px; word-break: break-word; }

/* --------------------------------------------------------------- Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .cat-grid, .grid-4, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero h1 { font-size: 44px; }
}

@media (max-width: 900px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: flex; }
  .section { padding: 62px 0; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__media { order: 0; }
  .product-detail { grid-template-columns: 1fr; gap: 34px; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { margin-top: -40px; }
  .hero { min-height: auto; }
  .hero__inner { padding: 78px 0 96px; }
  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 32px; }
  h2 { font-size: 27px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .cat-grid, .grid-4, .grid-2, .adv-grid, .band-grid, .product-grid, .form-grid, .mv-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 14px; }
  .stat__value { font-size: 27px; }
  .hero__inner { padding: 60px 0 78px; }
  .hero h1 { font-size: 30px; }
  .hero__sub { font-size: 15.5px; }
  .cta-band { padding: 34px 26px; }
  .cta-band h2 { font-size: 23px; }
  .form-card { padding: 24px 20px; }
  .topbar__left { gap: 14px; font-size: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  h1 { font-size: 30px; }
}

/* ------------------------------------------------------------------ RTL */
[dir="rtl"] .hero__inner { text-align: start; }
[dir="rtl"] .lang__menu { inset-inline-end: auto; inset-inline-start: 0; }
[dir="rtl"] .timeline { padding-inline-start: 0; padding-inline-end: 26px; }
[dir="rtl"] .timeline::before { inset-inline-start: auto; inset-inline-end: 6px; }
[dir="rtl"] .timeline__item::before { inset-inline-start: auto; inset-inline-end: -26px; }
[dir="rtl"] .spec-table th, [dir="rtl"] .spec-table td { text-align: start; }
[dir="rtl"] .btn, [dir="rtl"] .filter { letter-spacing: 0; }
[dir="rtl"] body { letter-spacing: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }

/* --------------------------------------------------------------- Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.is-hidden { display: none !important; }
.skeleton { background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 50%, #eef2f7 75%); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 6px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ------------------------------------------------------- MPO showcase */
.mpo-sec { padding-bottom: 10px; }
.mpo-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #081c36 0%, #0b2545 55%, #10315c 100%);
  color: #fff;
  box-shadow: 0 24px 60px -24px rgba(11, 37, 69, .45);
}
.mpo-showcase__media { position: relative; min-height: 380px; }
.mpo-showcase__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mpo-showcase__body { padding: 46px 44px; display: flex; flex-direction: column; gap: 14px; }
.mpo-showcase__eyebrow {
  display: inline-block; align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #7fd8e8; border: 1px solid rgba(127, 216, 232, .45); border-radius: 999px; padding: 5px 14px;
}
.mpo-showcase__body h2 { margin: 0; font-size: 27px; line-height: 1.3; color: #fff; }
.mpo-showcase__body > p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.7; }
.mpo-showcase__grid { display: grid; gap: 10px; margin-top: 6px; }
.mpo-mini {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 10px 14px;
  color: #fff; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.mpo-mini:hover { background: rgba(127, 216, 232, .14); border-color: rgba(127, 216, 232, .5); transform: translateX(4px); }
[dir="rtl"] .mpo-mini:hover { transform: translateX(-4px); }
.mpo-mini__media { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #fff; }
.mpo-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.mpo-mini__body { flex: 1; min-width: 0; }
.mpo-mini__body strong { display: block; font-size: 14.5px; line-height: 1.35; }
.mpo-mini__body em { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .62); margin-top: 3px; }
.mpo-mini__arrow { color: #7fd8e8; font-size: 18px; flex: 0 0 auto; }
.mpo-showcase__all { align-self: flex-start; margin-top: 8px; color: #7fd8e8; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.mpo-showcase__all:hover { text-decoration: underline; }
.mpo-showcase--fallback { margin: 10px 0 6px; }
@media (max-width: 900px) {
  .mpo-showcase { grid-template-columns: 1fr; }
  .mpo-showcase__media { min-height: 240px; }
  .mpo-showcase__body { padding: 30px 24px; }
  .mpo-showcase__body h2 { font-size: 22px; }
}
