/* ============================================================
   AlroTech Industries — 简约大气风格 (三页面统一)
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #94a3b8;
  --line: #e6ebf2;
  --accent: #1d6fe0;
  --accent-deep: #0b3a8c;
  --accent-soft: #e8f1ff;
  --spark: #ff7a18;
  --dark: #0a1020;
  --dark-2: #111a2e;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(10, 16, 32, .18);
  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Navbar (透明/实底两种模式) ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 20px 0;
}
.nav--solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm); padding: 12px 0;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm); padding: 12px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  font-weight: 700; font-size: 20px; letter-spacing: .3px; color: #fff;
  transition: color .35s var(--ease); white-space: nowrap;
  display: inline-flex; align-items: center; line-height: 1;
}
.nav--solid .brand, .nav.scrolled .brand { color: var(--ink); }
.brand__img { display: block; height: 46px; width: auto; max-width: 200px; object-fit: contain; }
.brand__img--dark { display: none; }
.nav--solid .brand__img--light, .nav.scrolled .brand__img--light { display: none; }
.nav--solid .brand__img--dark, .nav.scrolled .brand__img--dark { display: block; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  color: rgba(255, 255, 255, .85); font-size: 15px; font-weight: 500;
  position: relative; transition: color .3s var(--ease);
}
.nav--solid .nav__links a, .nav.scrolled .nav__links a { color: var(--ink-soft); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__links a:hover { color: var(--accent); }

.nav__right { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .12); border-radius: 999px;
  transition: background .35s var(--ease);
}
.nav--solid .lang-switch, .nav.scrolled .lang-switch { background: var(--bg-soft); }
.lang-switch__btn {
  border: none; background: transparent; cursor: pointer; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .8); transition: all .3s var(--ease);
}
.nav--solid .lang-switch__btn, .nav.scrolled .lang-switch__btn { color: var(--ink-soft); }
.lang-switch__btn:hover { color: #fff; }
.nav--solid .lang-switch__btn:hover, .nav.scrolled .lang-switch__btn:hover { color: var(--accent); }
.lang-switch__btn.active { background: var(--accent); color: #fff!important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; transition: all .3s var(--ease); }
.nav--solid .nav__toggle span, .nav.scrolled .nav__toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: var(--dark); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(8, 14, 30, .92) 0%, rgba(10, 20, 40, .78) 45%, rgba(11, 58, 140, .45) 100%);
}
.hero__content { position: relative; z-index: 2; color: #fff; max-width: 760px; padding-top: 80px; }
.hero__tagline {
  display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 2px; color: #7fb4ff;
  text-transform: uppercase; margin-bottom: 22px; padding: 7px 16px;
  border: 1px solid rgba(127, 180, 255, .35); border-radius: 999px; background: rgba(29, 111, 224, .12);
}
.hero__title { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.12; font-weight: 700; letter-spacing: -.5px; margin-bottom: 24px; }
.hero__desc { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .6); font-size: 22px; z-index: 4; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ===== Hero Carousel ===== */
.carousel { position: relative; }
.carousel__viewport { position: absolute; inset: 0; overflow: hidden; background: var(--dark); }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__bg { position: absolute; inset: 0; overflow: hidden; transform: scale(1.08); }
.slide__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide.is-active .slide__bg { animation: kenburns 7s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1.16); } }
.slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(8, 14, 30, .90) 0%, rgba(10, 20, 40, .74) 45%, rgba(11, 58, 140, .42) 100%);
}
.slide__content {
  position: relative; z-index: 2; color: #fff; max-width: 760px; padding-top: 230px;padding-right: 230px; right: 140px;
  opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) .25s, transform .8s var(--ease) .25s;
}
.slide.is-active .slide__content { opacity: 1; transform: none; }

.slide__title { font-size: clamp(32px, 5vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -.5px; margin-bottom: 20px; }
.slide__desc { font-size: clamp(15px, 1.5vw, 18px); color: rgba(255, 255, 255, .82); max-width: 600px; margin-bottom: 32px; }
.slide__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* arrows */
.carousel__arrows { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(10, 16, 32, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: all .3s var(--ease);
}
.carousel__arrow span { position: relative; top: -3px; }
.carousel__arrow:hover { background: var(--accent); border-color: var(--accent); }
.carousel__arrow--prev { left: 24px; }
.carousel__arrow--next { right: 24px; }

/* dots */
.carousel__dots {
  position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; gap: 10px; align-items: center;
}
.carousel__dot {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, .4); transition: all .35s var(--ease);
}
.carousel__dot.is-active { width: 30px; border-radius: 999px; background: #fff; }
.carousel__dot:hover { background: rgba(255, 255, 255, .7); }

@media (max-width: 640px) {
  .carousel__arrow { width: 42px; height: 42px; font-size: 22px; }
  .carousel__arrow--prev { left: 12px; }
  .carousel__arrow--next { right: 12px; }
  .carousel__dots { bottom: 56px; }
}

/* ===== Media 视觉块 (纯CSS渐变+SVG,替代外部图片) ===== */
.media {
  position: absolute; inset: 0; overflow: hidden;
}
.media__grad {
  position: absolute; inset: 0;
}
.media__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* 大图(产品详情)轻微放大,细节更清晰 */
.product-detail__media .media__img { object-position: center; }
.media__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.media__glow {
  position: absolute; top: 50%; left: 50%; width: 70%; height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--ac) 0%, transparent 65%);
  opacity: .22; filter: blur(8px);
}
.media__icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, .9);
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .35));
  line-height: 1;
}
.media__label {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 700; letter-spacing: 2px;
  padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  background: rgba(0, 0, 0, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
/* slide 内的 media 铺满 */
.slide__bg .media { position: relative; height: 100%; }
.slide__bg .media__icon { font-size: 110px !important; }
/* 卡片 media 容器已有 aspect-ratio,media absolute 铺满 */
.series-card__media .media, .sub-card__media .media, .product-detail__media .media { position: absolute; }
.product-detail__media .media__icon { font-size: 110px !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px;
  border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .3s var(--ease); border: 1px solid transparent;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(29, 111, 224, .35); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(29, 111, 224, .45); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.nav--solid .btn--ghost, .nav.scrolled .btn--ghost, .page-hero .btn--ghost { color: var(--ink); border-color: var(--line); }
.nav--solid .btn--ghost:hover, .page-hero .btn--ghost:hover { background: var(--bg-soft); border-color: var(--accent); color: var(--accent); }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-kicker { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -.5px; }
.section-desc { color: var(--ink-soft); margin-top: 16px; font-size: 16px; }

/* ===== About ===== */
.about { padding: 70px 0 0; }
.about__grid { display: grid; grid-template-columns: 2.5fr 1fr; gap: 35px; align-items: center; }
.about__main { display: flex; flex-direction: column; gap: 45px 40px;border: 1px solid #ddd;border-radius: 9px;padding: 40px; }
.about__body { color: var(--ink-soft); font-size: 16px; }
.about__body p { margin-bottom: 15px; line-height: 1.76;}
.about__body p:last-child { margin-bottom: 0; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about__media { border-radius: var(--radius); overflow: hidden; border-radius: 9px; border: 1px solid #ddd; aspect-ratio: 1280 / 1812; }
.about__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  text-align: center; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__num { font-size: 38px; font-weight: 700; color: var(--accent-deep); line-height: 1; }
.stat__label { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ===== 系列卡片 (首页) ===== */
.products { padding: 70px 0; }
.series__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.series-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.series-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.series-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.series-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.series-card:hover .series-card__media img { transform: scale(1.06); }
.series-card__icon {
  position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(13, 20, 40, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff;
}
.series-card__body { padding: 24px; }
.series-card__name { font-size: 19px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.series-card__short { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 18px; min-height: 60px; }
.series-card__link { color: var(--accent); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.series-card__link::after { content: "→"; transition: transform .3s var(--ease); }
.series-card:hover .series-card__link::after { transform: translateX(4px); }

.series__grid--mini { grid-template-columns: repeat(3, 1fr); }
.series__grid--mini .series-card__short { display: none; }

/* ===== 系列页 ===== */
.page-hero { padding: 140px 0 56px; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -40%; right: -10%; width: 60%; height: 160%; background: radial-gradient(circle, rgba(29, 111, 224, .35), transparent 60%); filter: blur(20px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero--product { padding: 110px 0 24px; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: rgba(255, 255, 255, .8); transition: color .3s var(--ease); }
.breadcrumb a:hover { color: #7fb4ff; }
.breadcrumb span.sep { opacity: .5; }
.breadcrumb span.current { color: #fff; font-weight: 500; }
.page-hero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15; margin-bottom: 16px; max-width: 820px; }
.page-hero__desc { color: rgba(255, 255, 255, .78); font-size: 16px; max-width: 760px; }

/* ===== 二级产品列表 ===== */
.sub-products { padding: 80px 0; }
.sub-products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sub-card {
  display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.sub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sub-card__media { position: relative; flex: 0 0 44%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.sub-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sub-card:hover .sub-card__media img { transform: scale(1.05); }
.sub-card__body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.sub-card__name { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.sub-card__short { color: var(--ink-soft); font-size: 14px; flex: 1; margin-bottom: 16px; }
.sub-card__link { color: var(--accent); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.sub-card__link::after { content: "→"; transition: transform .3s var(--ease); }
.sub-card:hover .sub-card__link::after { transform: translateX(4px); }

.other-series { padding: 70px 0 100px; background: var(--bg-soft); }

/* ===== 产品详情页 ===== */
.product-detail { padding: 56px 0 70px; }
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.product-detail__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--bg-soft); position: relative; }
.product-detail__media #productImg { position: absolute; inset: 0; }
.product-detail__name { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.product-detail__short { color: var(--ink-soft); font-size: 16px; margin-bottom: 28px; }
.product-detail__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.product-detail__body { max-width: 880px; }
.product-detail__desc { color: var(--ink-soft); font-size: 15.5px; }

/* blocks reused */
.modal__block { margin-bottom: 36px; }
.modal__block-title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.modal__block-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 12px 4px; font-size: 14.5px; }
.spec-table td:first-child { color: var(--muted); width: 45%; }
.spec-table td:last-child { color: var(--ink); font-weight: 600; }
.feature-list, .app-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-list li, .app-list li { font-size: 14.5px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.feature-list li::before, .app-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ===== Contact ===== */
.contact { padding: 100px 0; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; top: -40%; right: -10%; width: 60%; height: 160%; background: radial-gradient(circle, rgba(29, 111, 224, .35), transparent 60%); filter: blur(20px); }
.contact__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.contact__text .section-kicker { color: #7fb4ff; }
.contact__text .section-title { color: #fff; }
.contact__slogan { color: rgba(255, 255, 255, .7); margin-top: 18px; font-size: 16px; }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact__item { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact__item:last-child { border-bottom: none; }
.contact__label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.contact__value { font-size: 17px; font-weight: 600; }
.contact__value a { color: #7fb4ff; }

/* ===== Footer ===== */
.footer { background: var(--dark-2); color: rgba(255, 255, 255, .6); padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__brand { font-weight: 700; color: #fff; }
.footer__brand-img { display: block; height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.footer__copy { font-size: 13px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 40px rgba(0, 0, 0, .5); }
.lightbox__close { position: absolute; top: 20px; right: 28px; width: 44px; height: 44px; border: none; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .2s; }
.lightbox__close:hover { background: rgba(255, 255, 255, .25); }
.about__media { cursor: zoom-in; }

/* ===== Contact Modal ===== */
.cmodal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.cmodal.is-open { display: flex; }
.cmodal__backdrop { position: absolute; inset: 0; background: rgba(8, 14, 30, .65); backdrop-filter: blur(3px); }
.cmodal__dialog { position: relative; background: #fff; border-radius: 16px; padding: 36px 34px 30px; width: 100%; max-width: 420px; box-shadow: 0 24px 70px rgba(8, 14, 30, .35); animation: cmodalIn .3s var(--ease); }
@keyframes cmodalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.cmodal__close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: none; background: #f1f5f9; color: var(--ink); font-size: 24px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .2s; }
.cmodal__close:hover { background: #e2e8f0; }
.cmodal__title { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.cmodal__desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 22px; }
.cmodal__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #f6f8fb; border-radius: 10px; margin-bottom: 12px; }
.cmodal__label { font-size: 13px; color: #64748b; font-weight: 500; }
.cmodal__value { font-size: 16px; font-weight: 700; color: var(--ink); }
.cmodal__phone { color: var(--accent); text-decoration: none; }
.cmodal__phone:hover { text-decoration: underline; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 300;
  opacity: 0; transition: all .4s var(--ease); pointer-events: none; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav__links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 280px; flex-direction: column;
    background: #fff; padding: 90px 32px 32px; gap: 8px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { color: var(--ink-soft); padding: 14px 0; font-size: 16px; }
  .nav__toggle { display: flex; z-index: 101; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .series__grid { grid-template-columns: repeat(2, 1fr); }
  .sub-products__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .product-detail__grid { grid-template-columns: 1fr; gap: 28px; }
  /* 轮播内容：重置桌面端右侧 padding / 偏移，适配中屏 */
  .slide__content {
    max-width: 100%; padding-top: 180px; padding-right: 0; right: 0;
  }
  .slide__img { object-position: 70%; }
}
@media (max-width: 640px) {
  .series__grid, .series__grid--mini { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .feature-list, .app-list { grid-template-columns: 1fr; }
  .sub-card { flex-direction: column; }
  .sub-card__media { flex: none; width: 100%; }
  .hero__content { padding-top: 100px; }
  .about, .products { padding: 72px 0 0; }
  .page-hero { padding: 110px 0 40px; }
  /* 轮播内容：手机端纵向收紧，避免被顶出视口 */
  .slide__content {
    max-width: 90%; padding-top: 130px; padding-right: 0; padding-left: 0; right: 0;
  }
  .slide__title { margin-bottom: 14px; }
  .slide__desc { margin-bottom: 22px; }
  .slide__cta { gap: 10px; }
  /* 轮播背景图：手机端保留左侧，裁切右侧多余部分 */
  .slide__img { object-position: 70%; }
  .about__img { object-fit: cover; object-position: left center; }
}
