/* =========================================================
   欣睿雅 · 企业官网首页
   主色：青绿 × 深蓝青 | 科研服务感全幅 Banner
   改版前备份：_backup_pre_refresh_20260804 / restore-pre-refresh.ps1
   ========================================================= */

:root {
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --ocean-500: #3b82f6;
  --ocean-600: #2563eb;
  --ocean-700: #1d4ed8;
  --ocean-800: #1e40af;
  --ocean-900: #1e3a8a;
  --brand: #0ea5a4;
  --brand-deep: #0b6e8a;
  --brand-ink: #073b4c;
  --cyan: #22d3ee;
  --ink-900: #0b1f2a;
  --ink-700: #334e5c;
  --ink-500: #5b7380;
  --ink-400: #94a3b8;
  --bg-page: #f3f8fb;
  --bg-soft: #e7f3f6;
  --bg-white: #ffffff;
  --bg-deep: #0a3d4d;
  --footer: #062a36;
  --footer-deep: #041e28;
  --line: rgba(14, 116, 144, 0.14);
  --shadow-sm: 0 10px 28px rgba(8, 70, 90, 0.08);
  --shadow-md: 0 22px 48px rgba(8, 70, 90, 0.14);
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 72px;
  --tips-h: 0px;
  --container: 1180px;
  --grad-brand: linear-gradient(135deg, #0b6e8a 0%, #0d9488 48%, #14b8a6 100%);
  --grad-deep: linear-gradient(135deg, #073b4c 0%, #0b6e8a 45%, #0d9488 100%);
  --grad-soft: linear-gradient(160deg, rgba(14, 165, 164, 0.14), rgba(37, 99, 235, 0.08));
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(13, 148, 136, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 8%, rgba(37, 99, 235, 0.08), transparent 50%),
    var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(11, 110, 138, 0.38);
}

.btn-ghost {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(13, 148, 136, 0.22);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(13, 148, 136, 0.4);
}

.btn-consult {
  color: #fff;
  background: var(--grad-brand);
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.28);
}

.btn-consult:hover {
  transform: translateY(-1px);
}

.btn-text {
  height: auto;
  padding: 0;
  color: var(--teal-600);
  font-weight: 600;
}

.btn-text:hover {
  color: var(--ocean-700);
  gap: 12px;
}

.btn-block {
  width: 100%;
}

/* ---------- Site tips sticky note (bottom) ---------- */
.site-tips {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  width: min(300px, calc(100vw - 28px));
  padding: 22px 18px 18px;
  color: #5a4318;
  background: linear-gradient(160deg, #fff9e8 0%, #ffe9b8 100%);
  border: 1px solid rgba(196, 150, 58, 0.28);
  border-radius: 3px 14px 14px 14px;
  box-shadow:
    0 14px 36px rgba(90, 67, 24, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.55) inset;
  transform: rotate(-1.2deg);
  animation: tip-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tip-in {
  from { opacity: 0; transform: translateY(18px) rotate(-1.2deg); }
  to { opacity: 1; transform: translateY(0) rotate(-1.2deg); }
}

.site-tips__pin {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f87171, #b91c1c 70%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.site-tips__fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 22px 22px 0;
  border-color: transparent #f3d48a transparent transparent;
  filter: drop-shadow(-1px 1px 0 rgba(180, 130, 40, 0.2));
}

.site-tips__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(180, 120, 30, 0.14);
  color: #8a5a12;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-tips__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.site-tips__text strong {
  color: #9a3412;
}

.site-tips__text a {
  color: #0f766e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-tips__text a:hover {
  color: #115e59;
}

.site-tips__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(90, 67, 24, 0.08);
  color: #7a5a28;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.site-tips__close:hover {
  background: rgba(90, 67, 24, 0.16);
}

body.tips-hidden .site-tips {
  display: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 -2px 0 rgba(13, 148, 136, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(7, 59, 76, 0.08);
}

.header-inner {
  position: relative;
  width: min(calc(100% - 48px), 1280px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-700);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.brand-logo-light {
  background: transparent;
  /* 页脚深色底上略提亮可读性 */
  filter: brightness(1.08);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

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

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-900);
}

.brand-text small {
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.primary-nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-700);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--brand-deep);
  background: rgba(13, 148, 136, 0.1);
}

.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

/* ---------- Hero (full-bleed) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1582719471384-894fbb16e074?auto=format&fit=crop&w=2000&q=85")
    center / cover no-repeat;
  transform: scale(1.04);
  animation: heroKen 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 30, 40, 0.92) 0%, rgba(7, 59, 76, 0.78) 42%, rgba(11, 110, 138, 0.45) 72%, rgba(13, 148, 136, 0.28) 100%),
    linear-gradient(180deg, rgba(4, 30, 40, 0.35), transparent 40%, rgba(4, 30, 40, 0.55));
}

.hero-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.hero-orb--a {
  width: 320px;
  height: 320px;
  left: 8%;
  top: 18%;
  background: rgba(45, 212, 191, 0.35);
  animation: orbPulse 7s ease-in-out infinite;
}

.hero-orb--b {
  width: 420px;
  height: 420px;
  right: -4%;
  bottom: 6%;
  background: rgba(56, 189, 248, 0.28);
  animation: orbPulse 9s ease-in-out infinite reverse;
}

.hero-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.18), transparent);
  animation: scanMove 6s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 1280px);
  margin: 56px auto 88px;
  display: block;
}

.hero-brand {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow,
.section-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero-eyebrow {
  color: rgba(153, 246, 228, 0.95);
  animation: fadeUp 0.7s ease 0.08s both;
}

.section-eyebrow.light {
  color: rgba(204, 251, 241, 0.9);
}

.hero-copy h1 {
  margin: 0;
  max-width: 12em;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
  animation: fadeUp 0.75s ease 0.12s both;
}

.hero-desc {
  margin: 22px 0 0;
  max-width: 36em;
  font-size: 16px;
  color: rgba(226, 250, 246, 0.9);
  font-weight: 400;
  animation: fadeUp 0.75s ease 0.18s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  animation: fadeUp 0.75s ease 0.24s both;
}

.hero-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  color: var(--bg-page);
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 56px;
  display: block;
}

@keyframes heroKen {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.12); opacity: 0.7; }
}

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

@keyframes scanMove {
  0%, 100% { top: 12%; opacity: 0.25; }
  50% { top: 58%; opacity: 0.55; }
}

/* ---------- Quick nav strip ---------- */
.quick-nav {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  margin-bottom: 8px;
}

.quick-nav__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 148, 136, 0.14);
  box-shadow: 0 18px 40px rgba(7, 59, 76, 0.1);
  backdrop-filter: blur(12px);
}

.quick-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.quick-nav a span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--teal-700);
  background: var(--grad-soft);
}

.quick-nav a:hover {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(37, 99, 235, 0.08));
  color: var(--brand-deep);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
  position: relative;
  padding-left: 16px;
}

.section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 4px;
  background: var(--grad-brand);
}

.section-head h2,
.about-copy h2,
.resources-copy h2,
.careers-inner h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--ink-900);
}

.section-desc,
.about-copy > p,
.resources-copy > p,
.careers-inner p {
  margin: 14px 0 0;
  color: var(--ink-500);
  font-size: 15px;
}

/* ---------- Platforms ---------- */
.platforms {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(56, 189, 248, 0.1), transparent 55%),
    linear-gradient(180deg, #fff 0%, rgba(231, 243, 246, 0.7) 100%);
}

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

.platform-card {
  position: relative;
  padding: 28px 24px 30px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.platform-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--grad-brand);
  opacity: 0.85;
}

.platform-card:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: var(--shadow-md);
}

.platform-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--teal-600);
  background: var(--grad-soft);
  margin-bottom: 20px;
  transition: transform 0.35s ease, color 0.35s ease, background 0.35s ease;
}

.platform-icon svg {
  width: 28px;
  height: 28px;
}

.platform-card:hover .platform-icon {
  color: #fff;
  background: var(--grad-brand);
  transform: scale(1.05);
}

.platform-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.platform-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ---------- Instruments carousel ---------- */
.instruments {
  padding-bottom: 108px;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(13, 148, 136, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), #dceef4 45%, var(--bg-page));
}

.instruments .section-head {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.carousel {
  position: relative;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: 18px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 calc((100% - 40px) / 3);
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f2f6fa;
  aspect-ratio: 14 / 9;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #f2f6fa;
  opacity: 1;
  transition: transform 0.6s ease;
  transform: none;
  padding: 0;
}

/* 产品图 */
.carousel-slide.is-product {
  aspect-ratio: 14 / 9;
  background: #f2f6fa;
}

.carousel-slide.is-product img {
  object-fit: contain;
  object-position: center center;
}

/* 第一张：完整显示整机，不裁切 */
.carousel-slide.is-product-fill img {
  object-fit: contain;
  object-position: center center;
}

.carousel-slide:hover img {
  transform: scale(1.03);
}

.carousel-slide.is-product:hover img {
  transform: scale(1.04);
}

.carousel-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.78));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.carousel-slide figcaption strong {
  font-size: 15px;
  font-weight: 600;
}

.carousel-slide figcaption span {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.85);
}

.carousel-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ocean-800);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-btn:hover {
  background: #fff;
  transform: scale(1.05);
}

.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(13, 148, 136, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dots button.is-active {
  width: 22px;
  background: var(--grad-brand);
}

/* ---------- Services modules ---------- */
.services {
  background:
    radial-gradient(ellipse 55% 50% at 100% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    linear-gradient(180deg, #fff, var(--bg-page));
}

.svc-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.svc-module {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 18px 16px 14px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-module:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.svc-module__head {
  flex-shrink: 0;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.svc-module__head h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-family: var(--font-serif);
  font-weight: 650;
  color: var(--ink-900);
}

.svc-module__head p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-500);
}

.svc-list {
  margin: 0;
  padding: 0 4px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  max-height: 200px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 148, 136, 0.28) transparent;
}

.svc-list::-webkit-scrollbar {
  width: 4px;
}

.svc-list::-webkit-scrollbar-thumb {
  background: rgba(13, 148, 136, 0.28);
  border-radius: 4px;
}

.svc-list li {
  position: relative;
  flex-shrink: 0;
  padding: 5px 0 5px 12px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-700);
  border-bottom: 1px dashed rgba(15, 23, 42, 0.06);
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-600, #0d9488);
}

.svc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
  flex-shrink: 0;
}

.svc-metric {
  padding: 8px 6px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f0fdfa, #f8fafc);
  border: 1px solid rgba(13, 148, 136, 0.15);
  text-align: center;
}

.svc-metric strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  color: #0f766e;
}

.svc-metric span {
  display: none;
}

.svc-module__foot {
  flex-shrink: 0;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

/* legacy service-card kept for subpages if any */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-visual {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(14, 154, 167, 0.35), rgba(11, 110, 138, 0.4)),
    var(--svc-img) center / cover no-repeat;
}

.service-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-family: var(--font-serif);
  font-weight: 650;
}

.service-body > p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-500);
}

.service-body ul {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-body li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--ink-700);
}

.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.service-body .btn-text {
  margin-top: auto;
  align-self: flex-start;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: auto;
}

.service-actions .btn-text {
  margin-top: 0;
}

/* ---------- About ---------- */
.about {
  padding-top: 40px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(45, 212, 191, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(231, 243, 246, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stats strong {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-stats span {
  font-size: 13px;
  color: var(--ink-500);
}

.about-panel {
  display: grid;
  gap: 14px;
}

.about-panel-item {
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: rgba(14, 154, 167, 0.05);
  border: 1px solid rgba(14, 154, 167, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.about-panel-item:hover {
  background: rgba(14, 154, 167, 0.09);
  transform: translateX(4px);
}

.about-panel-item strong {
  font-size: 15px;
}

.about-panel-item span {
  font-size: 13px;
  color: var(--ink-500);
}

/* ---------- Resources / Lead form ---------- */
.resources {
  padding-top: 40px;
}

.resources-panel {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(94, 234, 212, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(56, 189, 248, 0.22), transparent 50%),
    linear-gradient(135deg, #073b4c 0%, #0b6e8a 42%, #0d9488 100%);
  box-shadow: 0 24px 50px rgba(7, 59, 76, 0.28);
}

.resources-copy h2 {
  color: #fff;
}

.resources-copy > p {
  color: rgba(226, 250, 246, 0.88);
  max-width: 34em;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.lead-form label {
  display: grid;
  gap: 6px;
}

.lead-form label span {
  font-size: 12px;
  color: rgba(204, 251, 241, 0.9);
}

.lead-form input {
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus {
  border-color: rgba(14, 154, 167, 0.55);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.25);
}

.lead-form .btn-primary {
  margin-top: 4px;
  background: #fff;
  color: var(--ocean-800);
  box-shadow: none;
}

.lead-form .btn-primary:hover {
  background: #f0fdfa;
}

.form-note {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(204, 251, 241, 0.7);
  text-align: center;
}

/* ---------- Careers ---------- */
.careers {
  padding-top: 72px;
  padding-bottom: 88px;
}

.careers-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border-radius: 18px;
  background: var(--bg-white);
  border: 1px solid var(--line);
}

.careers-inner p {
  max-width: 40em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--footer) 0%, var(--footer-deep) 100%);
  color: rgba(226, 232, 240, 0.88);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 48px;
}

.brand-light .brand-text strong {
  color: #f8fafc;
}

.brand-light .brand-text small {
  color: rgba(148, 163, 184, 0.9);
}

.footer-brand > p {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(148, 163, 184, 0.95);
  max-width: 28em;
}

.footer-contact {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: rgba(203, 213, 225, 0.9);
}

.footer-nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-nav h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(148, 163, 184, 0.95);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #7dd3fc;
}

.footer-wechat {
  justify-items: start;
}

.footer-qr {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.footer-qr-tip {
  margin: 0;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.95);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding: 18px 0 22px;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.75);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom .beian-link {
  color: rgba(148, 163, 184, 0.85);
  text-decoration: none;
}

.footer-bottom .beian-link:hover {
  color: #e2e8f0;
  text-decoration: underline;
}

/* ---------- Floating consult ---------- */
.float-consult {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 90;
}

.float-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  gap: 0;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 14px 32px rgba(13, 148, 136, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulseSoft 2.8s ease-in-out infinite;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.float-btn svg {
  width: 22px;
  height: 22px;
}

.float-btn span {
  font-size: 11px;
  font-weight: 500;
  margin-top: -2px;
  letter-spacing: 0.06em;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 36px rgba(13, 148, 136, 0.42);
  animation: none;
}

@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 14px 32px rgba(13, 148, 136, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(14, 154, 167, 0.48), 0 0 0 10px rgba(14, 154, 167, 0.08); }
}

/* ---------- Consult modal ---------- */
body.modal-open,
body.nav-open {
  overflow: hidden;
}

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.consult-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.consult-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
}

.consult-modal__panel {
  position: relative;
  width: min(100%, 440px);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 28px 24px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s ease;
}

.consult-modal.is-open .consult-modal__panel {
  transform: none;
}

.consult-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-700);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.consult-modal__head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
}

.consult-modal__head p:last-child {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink-500);
}

.consult-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.consult-form label,
.lead-form label {
  display: grid;
  gap: 6px;
}

.consult-form label span,
.page-consult-form label span {
  font-size: 12px;
  color: var(--ink-500);
}

.consult-form input,
.consult-form select,
.consult-form textarea,
.page-consult-form input,
.page-consult-form select,
.page-consult-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-900);
  outline: none;
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.consult-form input,
.consult-form select,
.page-consult-form input,
.page-consult-form select {
  height: 44px;
}

.consult-form textarea,
.page-consult-form textarea {
  padding: 12px 14px;
  resize: vertical;
  min-height: 84px;
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus,
.page-consult-form input:focus,
.page-consult-form select:focus,
.page-consult-form textarea:focus {
  border-color: rgba(14, 154, 167, 0.55);
  box-shadow: 0 0 0 3px rgba(14, 154, 167, 0.12);
}

.form-note.dark {
  color: var(--ink-400);
}

/* ---------- Mobile action bar ---------- */
.mobile-action-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(7, 59, 76, 0.08);
  gap: 10px;
}

.mobile-action-bar__call {
  flex: 1;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  background: #fff;
  color: var(--ocean-800);
  font-size: 14px;
  font-weight: 500;
}

.mobile-action-bar__call svg {
  width: 18px;
  height: 18px;
}

.mobile-action-bar__consult {
  flex: 1.2;
  height: 46px;
}

/* ---------- Service detail pages ---------- */
.page-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(244, 247, 249, 0.96) 0%, rgba(244, 247, 249, 0.78) 48%, rgba(238, 243, 246, 0.4) 100%),
    radial-gradient(ellipse 50% 70% at 90% 20%, rgba(13, 148, 136, 0.14), transparent 55%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--ink-500);
}

.breadcrumb a:hover {
  color: var(--teal-600);
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.page-hero-desc {
  margin: 16px 0 0;
  max-width: 36em;
  color: var(--ink-700);
  font-size: 15px;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero-visual {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
}

.page-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.svc-feature {
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.svc-feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.svc-feature p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-500);
}

.svc-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.svc-content {
  padding: 28px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.svc-content h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 24px;
}

.svc-content p {
  margin: 0 0 14px;
  color: var(--ink-700);
  font-size: 15px;
}

.svc-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.svc-content li {
  position: relative;
  padding: 12px 14px 12px 34px;
  border-radius: 10px;
  background: rgba(14, 154, 167, 0.04);
  font-size: 14px;
  color: var(--ink-700);
}

.svc-content li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 1.1em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.svc-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.svc-side-card {
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.svc-side-card.accent {
  color: #fff;
  background: linear-gradient(145deg, #073b4c 0%, #0b6e8a 45%, #0d9488 100%);
  border: 0;
}

.svc-side-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-family: var(--font-serif);
}

.svc-side-card p {
  margin: 0 0 16px;
  font-size: 13px;
  opacity: 0.92;
}

.svc-side-card.accent p {
  color: rgba(226, 250, 246, 0.92);
}

.svc-side-card .btn {
  width: 100%;
}

.svc-side-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-700);
}

.svc-side-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.svc-side-meta li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.svc-side-meta strong {
  color: var(--ink-900);
  font-weight: 600;
}

.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.svc-step {
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--line);
}

.svc-step em {
  display: inline-block;
  margin-bottom: 10px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal-600);
}

.svc-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.svc-step p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-500);
}

.svc-cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 80% at 0% 100%, rgba(94, 234, 212, 0.2), transparent 55%),
    linear-gradient(135deg, #073b4c 0%, #0b6e8a 42%, #0d9488 100%);
}

.svc-cta h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
}

.svc-cta > div > p {
  margin: 12px 0 0;
  color: rgba(226, 250, 246, 0.9);
  font-size: 14px;
}

.page-consult-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.page-consult-form label span {
  color: rgba(204, 251, 241, 0.9);
}

.page-consult-form input,
.page-consult-form select,
.page-consult-form textarea {
  background: rgba(255, 255, 255, 0.94);
}

.page-consult-form .btn-primary {
  background: #fff;
  color: var(--ocean-800);
  box-shadow: none;
}

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

.related-card {
  display: block;
  padding: 22px;
  border-radius: 14px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 154, 167, 0.28);
  box-shadow: var(--shadow-md);
}

.related-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.related-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-500);
}

/* ---------- Service catalog ---------- */
.catalog-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.catalog-group {
  padding: 22px 20px 20px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.catalog-group h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-family: var(--font-serif);
  color: var(--ocean-800);
}

.catalog-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.catalog-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-700);
  background: rgba(14, 154, 167, 0.04);
}

.catalog-no {
  flex-shrink: 0;
  min-width: 28px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-700);
  background: rgba(14, 154, 167, 0.12);
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-slide { flex-basis: calc((100% - 20px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-features { grid-template-columns: 1fr 1fr; }
  .svc-steps { grid-template-columns: 1fr 1fr; }
  .catalog-groups { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    width: min(calc(100% - 24px), 1280px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .btn-consult {
    display: none;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 100px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    overflow: auto;
  }

  body.nav-open .primary-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 12px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a.is-active::after {
    display: none;
  }

  .hero {
    min-height: min(92vh, 760px);
  }

  .hero-brand {
    font-size: clamp(24px, 7vw, 34px);
    letter-spacing: 0.08em;
  }

  .hero-inner,
  .about-inner,
  .resources-panel,
  .service-grid,
  .page-hero-inner,
  .svc-layout,
  .svc-cta {
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .page-hero-inner {
    width: min(calc(100% - 32px), 1280px);
    margin: 36px auto 72px;
    gap: 24px;
  }

  .hero-wave svg {
    height: 40px;
  }

  .quick-nav {
    margin-top: -18px;
  }

  .quick-nav__inner {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
  }

  .quick-nav a {
    padding: 12px;
    font-size: 13px;
  }

  .page-hero {
    padding: 36px 0 28px;
  }

  .hero-copy h1 br {
    display: none;
  }

  .hero-actions,
  .page-hero-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .page-hero-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .platform-grid,
  .svc-modules,
  .svc-features,
  .svc-steps,
  .related-services,
  .catalog-groups {
    grid-template-columns: 1fr;
  }

  .svc-module {
    padding: 16px 14px 12px;
  }

  .svc-list {
    max-height: 160px;
  }

  .svc-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc-metric span {
    display: none;
  }

  .about-inner,
  .resources-panel,
  .careers-inner,
  .svc-cta,
  .svc-content {
    padding: 24px 18px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .carousel {
    width: min(100% - 24px, 1280px);
  }

  .carousel-btn {
    display: none;
  }

  .carousel-slide {
    flex-basis: 100%;
  }

  .careers-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .svc-side {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .float-consult {
    display: none;
  }

  .mobile-action-bar {
    display: flex;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 560px) {
  .site-tips {
    right: 12px;
    bottom: 84px;
    width: min(280px, calc(100vw - 24px));
    transform: rotate(-0.6deg);
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    height: 44px;
    max-width: 140px;
    padding: 0;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 28px;
  }

  .btn {
    height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  .resources-panel,
  .svc-cta {
    padding: 22px 16px;
  }
}
