/* 名和西科技官网 — 全局样式 */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-main: #0F52BA;
  --color-gradient-blue: #0090FF;
  --color-assist-cyan: #46C7F2;
  --bg-block-light: #F5F8FC;
  --bg-page: linear-gradient(#F7FBFF, #E6F2FF);
  --bg-dark-footer: #222A3A;
  --text-title: #222A3A;
  --text-body: #555F70;
  --text-tip: #8892A0;
  --text-white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-btn: 10px;
  --shadow-soft: 0 8px 28px rgba(15, 82, 186, 0.10);
  --shadow-card: 0 12px 32px rgba(15, 82, 186, 0.12);
  --header-h: 72px;
  --container: 1200px;
  --font: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-body);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1, h2, h3 {
  color: var(--text-title);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary {
  color: var(--text-white);
  background: linear-gradient(135deg, var(--color-main), var(--color-gradient-blue));
  box-shadow: 0 8px 20px rgba(15, 82, 186, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0c4499, #0078d6);
  transform: scale(1.03);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-outline {
  color: var(--color-main);
  background: #fff;
  border-color: rgba(15, 82, 186, 0.35);
}

.btn-outline:hover {
  border-color: var(--color-main);
  background: rgba(15, 82, 186, 0.04);
  transform: scale(1.03);
}

.btn-outline:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: var(--color-main);
  font-weight: 600;
  font-size: 14px;
}

.text-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: #fff;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(15, 82, 186, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(15, 40, 90, 0.18);
  color: #fff;
}

.site-header.is-scrolled .brand-name,
.site-header.is-scrolled .brand-en,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .header-phone {
  color: #fff;
}

.site-header.is-scrolled .nav-link.is-active::after,
.site-header.is-scrolled .nav-link:hover::after {
  background: #fff;
}

.site-header.is-scrolled .menu-toggle span {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  height: 40px;
  aspect-ratio: 381 / 80;
  flex-shrink: 0;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  display: block;
  transition: opacity 0.3s var(--ease);
}

.brand-logo--default {
  opacity: 1;
}

.brand-logo--scrolled {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo--default {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo--scrolled {
  opacity: 1;
}

.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

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

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
}

.brand-en {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--text-tip);
  font-weight: 600;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-title);
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-gradient-blue);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 18px;
}

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 6px 0;
}

.nav-dropdown-label {
  white-space: nowrap;
}

.nav-dropdown-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(15, 82, 186, 0.12);
  color: var(--color-main);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), transform 0.25s var(--ease);
}

.nav-dropdown-chevron svg {
  width: 16px;
  height: 16px;
}

.nav-dropdown-trigger:hover .nav-dropdown-chevron {
  background: rgba(15, 82, 186, 0.22);
}

.nav-dropdown-wrap.is-open .nav-dropdown-chevron {
  background: rgba(15, 82, 186, 0.24);
  transform: rotate(180deg);
}

.site-header.is-scrolled .nav-dropdown-chevron {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.site-header.is-scrolled .nav-dropdown-trigger:hover .nav-dropdown-chevron,
.site-header.is-scrolled .nav-dropdown-wrap.is-open .nav-dropdown-chevron {
  background: rgba(255, 255, 255, 0.32);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 520px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 82, 186, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 100;
}

.nav-dropdown-wrap.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nav-dropdown-item {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease);
}

.nav-dropdown-item:hover {
  background: var(--bg-block-light);
}

.nav-dropdown-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-title);
  margin-bottom: 4px;
}

.nav-dropdown-item span {
  display: block;
  font-size: 12px;
  color: var(--text-tip);
  line-height: 1.45;
}

.site-header.is-scrolled .nav-dropdown {
  background: #fff;
}

.site-header.is-scrolled .nav-dropdown-item strong {
  color: var(--text-title);
}

.nav-dropdown-item.is-current {
  background: rgba(0, 144, 255, 0.08);
}

.nav-dropdown-item.is-current strong {
  color: var(--color-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  font-size: 13px;
  color: var(--text-body);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-title);
  border-radius: 2px;
  transition: 0.25s var(--ease);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 999;
  background: rgba(247, 251, 255, 0.98);
  backdrop-filter: blur(16px);
  padding: 32px 24px;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.mobile-nav a {
  padding: 14px 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  border-bottom: 1px solid rgba(15, 82, 186, 0.08);
}

.mobile-nav .btn {
  margin-top: 20px;
  border-bottom: 0;
}

.mobile-nav-expand {
  width: 100%;
  text-align: left;
  padding: 14px 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-title);
  border: 0;
  border-bottom: 1px solid rgba(15, 82, 186, 0.08);
  background: transparent;
  cursor: pointer;
}

.mobile-nav-submenu {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
}

.mobile-nav-submenu a {
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid rgba(15, 82, 186, 0.06);
}

/* Banner */
.banner {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 32px) 0 64px;
  overflow: hidden;
  background: var(--bg-page);
}

.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center right;
  background-repeat: no-repeat !important;
  z-index: 0;
}

.banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 251, 255, 0.94) 0%, rgba(247, 251, 255, 0.78) 42%, rgba(230, 242, 255, 0.25) 72%, transparent 100%);
  z-index: 1;
}

.banner-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 8px;
}

.banner-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-title);
}

.banner-subtitle {
  font-size: 16px;
  color: var(--text-body);
  max-width: 34em;
  margin-bottom: 12px;
}

.banner-note {
  font-size: 14px;
  color: var(--text-tip);
  margin-bottom: 28px;
}

.banner-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-bottom: 32px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-main);
  background: rgba(0, 144, 255, 0.1);
  flex-shrink: 0;
}

.stat-icon svg {
  width: 18px;
  height: 18px;
}

.stat-item strong {
  display: block;
  font-size: 18px;
  color: var(--text-title);
  line-height: 1.2;
}

.stat-item span {
  font-size: 12px;
  color: var(--text-tip);
}

.banner-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.section-white {
  background: #fff;
}

.section-light {
  background: var(--bg-block-light);
}

.section-logo {
  background: #F7FBFF;
  padding-bottom: 72px;
}

.section-tight-top {
  padding-top: 24px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-body);
  margin: 0;
}

.section-title-sm {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--text-tip) !important;
}

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.section-head-row h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin: 0;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Solutions */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(15, 82, 186, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--color-main);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.solution-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 20px;
  flex: 1;
}

/* Advantages */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.advantage-item {
  text-align: center;
  padding: 8px 12px;
}

.advantage-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--color-main), var(--color-assist-cyan));
  box-shadow: 0 10px 24px rgba(0, 144, 255, 0.28);
}

.advantage-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.advantage-item p {
  font-size: 14px;
  margin: 0;
  color: var(--text-body);
}

/* Cases */
.case-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-track-wrap {
  overflow: hidden;
  flex: 1;
  cursor: grab;
  user-select: none;
}

.case-track-wrap.is-dragging {
  cursor: grabbing;
}

.case-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.case-card {
  flex: 0 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 82, 186, 0.08);
  min-height: 320px;
}

.case-media {
  min-height: 280px;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-main);
  background: rgba(0, 144, 255, 0.1);
  margin-bottom: 12px;
}

.case-body h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.case-industry {
  font-size: 13px;
  color: var(--text-tip);
  margin-bottom: 20px;
}

.case-metrics {
  display: grid;
  gap: 12px;
}

.case-metrics li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.case-metrics strong {
  font-size: 20px;
  color: var(--color-main);
  min-width: 72px;
}

.case-metrics span {
  font-size: 13px;
  color: var(--text-body);
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15, 82, 186, 0.2);
  background: #fff;
  color: var(--color-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.25s var(--ease);
}

.carousel-btn:hover {
  background: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}

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

/* Logo marquee */
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 32s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
  width: 140px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #9aa3b2;
  filter: grayscale(1);
  opacity: 0.75;
  transition: 0.3s var(--ease);
}

.logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
  color: var(--color-main);
}

.logo-item svg {
  width: 120px;
  height: 40px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-content h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin-bottom: 16px;
}

.about-content > p {
  font-size: 15px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.about-stats div {
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-block-light);
}

.about-stats strong {
  display: block;
  font-size: 24px;
  color: var(--color-main);
  margin-bottom: 4px;
}

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

.about-vision {
  font-size: 15px;
  color: var(--text-title);
  font-weight: 500;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 3px solid var(--color-assist-cyan);
}

/* News */
.news-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.news-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  display: block;
}

.news-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease);
}

.news-feature:hover img {
  transform: scale(1.04);
}

.news-feature-body {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 24px;
  background: linear-gradient(transparent, rgba(34, 42, 58, 0.88));
  color: #fff;
}

.news-feature-body h3 {
  color: #fff;
  font-size: 20px;
  margin: 8px 0 10px;
}

.news-feature-body time,
.news-item time {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.news-item time {
  color: var(--text-tip);
}

.news-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(70, 199, 242, 0.2);
  color: var(--color-assist-cyan);
}

.news-feature .news-tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  flex: 1;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(15, 82, 186, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.news-item h3 {
  font-size: 16px;
  margin: 8px 0 10px;
}

/* Testimonials */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease);
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(15, 82, 186, 0.08);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--color-main), var(--color-assist-cyan));
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 20px;
  min-height: 4.5em;
}

.testimonial-meta strong {
  display: block;
  font-size: 14px;
  color: var(--text-title);
}

.testimonial-meta span {
  font-size: 13px;
  color: var(--text-tip);
}

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

.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 82, 186, 0.2);
  cursor: pointer;
  padding: 0;
  transition: 0.25s var(--ease);
}

.testimonial-dots button.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--color-main);
}

/* Lead */
.section-lead {
  background: linear-gradient(135deg, #0a3d8f 0%, var(--color-main) 45%, var(--color-gradient-blue) 100%);
  color: #fff;
  padding: 88px 0;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.lead-copy h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin-bottom: 28px;
}

.lead-points {
  display: grid;
  gap: 16px;
}

.lead-points li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.lead-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-assist-cyan);
  box-shadow: 0 0 0 4px rgba(70, 199, 242, 0.25);
}

.lead-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 20px 48px rgba(8, 40, 100, 0.28);
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-title);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(85, 95, 112, 0.25);
  color: var(--text-title);
  background: #fff;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-gradient-blue);
  box-shadow: 0 0 0 3px rgba(0, 144, 255, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aa3b2;
}

.form-tip {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--color-main);
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  background: var(--bg-dark-footer);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 64px;
}

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

.footer-col h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  font-size: 13px;
  line-height: 1.7;
}

.footer-col a:hover {
  color: var(--color-assist-cyan);
}

.footer-vision {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.footer-contact li {
  margin-bottom: 8px;
}

.footer-qr {
  margin-top: 16px;
}

.footer-qr-img {
  width: 96px;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
}

.qr-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-contact a {
  color: inherit;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

/* Float bar */
.float-bar {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15, 82, 186, 0.18);
  overflow: hidden;
  border: 1px solid rgba(15, 82, 186, 0.1);
}

.float-bar a,
.float-bar button {
  width: 64px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--color-main);
  cursor: pointer;
  font-size: 10px;
  transition: background 0.2s var(--ease);
}

.float-bar a:hover,
.float-bar button:hover {
  background: rgba(0, 144, 255, 0.08);
}

.float-bar svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-desktop {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .solution-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

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

@media (max-width: 900px) {
  .case-card {
    grid-template-columns: 1fr;
  }

  .case-media {
    min-height: 200px;
  }

  .about-grid,
  .news-layout,
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-media img {
    min-height: 280px;
  }

  .banner-bg::after {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.92) 0%, rgba(247, 251, 255, 0.82) 55%, rgba(230, 242, 255, 0.55) 100%);
  }
}

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

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

  .section {
    padding: 72px 0;
  }

  .solution-grid,
  .advantage-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .banner-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-ctas .btn {
    width: 100%;
  }

  .float-bar {
    right: 8px;
    top: auto;
    bottom: 16px;
    transform: none;
    flex-direction: row;
  }

  .float-bar a,
  .float-bar button {
    width: 52px;
    padding: 10px 4px;
  }

  .float-bar span {
    display: none;
  }

  .case-carousel {
    gap: 0;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    box-shadow: 0 4px 16px rgba(15, 40, 90, 0.14);
  }

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

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

  .header-actions .btn-sm {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
