/* ============================================
   PTT Website - Global Stylesheet
   Smart Office Solution Experts
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #1a56db;
  --primary-dark: #1e40af;
  --primary-light: #dbeafe;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --nav-height: 68px;
  --transition: 0.25s ease;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0d3279;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
  color: #0d3279;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::after {
  content: "▾";
  font-size: 0.6rem;
  margin-left: 2px;
  transition: transform var(--transition);
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 1001;
  overflow: hidden;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px !important;
  border-radius: 0 !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--primary-light) !important;
}

.nav-dropdown-menu a.active {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

.lang-inline {
  display: inline-block;
  padding: 4px 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--transition);
  line-height: 1;
}

.lang-inline:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.lang-inline.active {
  color: var(--primary);
  background: var(--primary-light);
}

.lang-divider {
  color: var(--border);
  font-size: 0.75rem;
  user-select: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero Carousel === */
.hero {
  margin-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.hero-carousel {
  position: relative;
  width: 100%;
  /* 32.3vw = 620/1920: 与头图原始宽高比一致，消除 object-fit: cover 裁剪 */
  height: clamp(180px, 32.3vw, min(620px, calc(100vh - var(--nav-height))));
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
  opacity: 0;
}

.hero-carousel:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-left { left: 24px; }
.hero-arrow-right { right: 24px; }

.hero-arrow svg {
  width: 24px;
  height: 24px;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  padding: 0;
  border: none;
  cursor: pointer;
}

.hero-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.hero-dot:hover {
  background: rgba(255,255,255,0.7);
}

/* === Section Common === */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: inline-block;
}
.section-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 12px auto 0;
}

/* === About Section === */
.about {
  background: var(--bg-white);
}

.about-content {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.9;
}

.about-subtitle {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

.partner-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 36px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border: 1px solid #c5d5f0;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a3c6e;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.partner-badge:hover {
  background: linear-gradient(135deg, #dbe4ff 0%, #c7d6f5 100%);
  border-color: #8da9e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 95, 180, 0.12);
}

.badge-icon {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .partner-badges {
    gap: 8px;
  }
  .partner-badge {
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.stat-item {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  border: 1px solid #0d3279;
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0d3279;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* === Products Section === */
.products {
  background: #eff6ff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-white);
  border: 1px solid #1a56db;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-light);
}

.product-card .tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  background: #fef3c7;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 20px;
}

.product-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.product-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* === Solutions Section === */
.solutions {
  background: var(--bg-white);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-bottom: 3px solid #0d3279;
  border-top: 3px solid #0d3279;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  border-color: var(--primary-light);
}

.solution-card-header {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.solution-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.solution-card:hover .solution-card-header img {
  transform: scale(1.08);
}

.solution-card-body {
  padding: 22px 20px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.solution-card-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.solution-card-body p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.solution-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a5fb4;
  transition: gap 0.2s ease;
}

.solution-card:hover .solution-card-link {
  gap: 8px;
}

/* Responsive: 5 col → 3 col → 2 col → 1 col */
@media (max-width: 1100px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .solution-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* === Cases Section === */
.cases {
  background: #eff6ff;
  border-top: 1px solid #dbeafe;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.case-card {
  background: var(--bg-white);
  border: 1px solid #e8eaef;
  border-left: 4px solid transparent;
  border-radius: 16px;
  padding: 28px 28px 24px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

/* 行业左侧色条 */
.case-card.cat-gov {
  border-left-color: #d32f2f;
}
.case-card.cat-gov .category {
  background: #ffebee;
  color: #c62828;
}
.case-card.cat-realestate {
  border-left-color: #1565c0;
}
.case-card.cat-realestate .category {
  background: #e3f2fd;
  color: #0d47a1;
}
.case-card.cat-finance {
  border-left-color: #f9a825;
}
.case-card.cat-finance .category {
  background: #fff8e1;
  color: #e65100;
}
.case-card.cat-manufacture {
  border-left-color: #2e7d32;
}
.case-card.cat-manufacture .category {
  background: #e8f5e9;
  color: #1b5e20;
}

.case-card .category {
  display: inline-block;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 14px;
}

.case-card h3 {
  font-size: 1.08rem;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.4;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* 数据亮点 */
.case-metric {
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.case-metric strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

/* 了解更多案例卡片 */
.case-card-more {
  border: 2px dashed var(--border);
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.case-card-more:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.case-card-more .more-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.case-card-more:hover .more-icon {
  transform: translateX(4px);
}

.case-card-more h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

/* === Contact Section === */
.contact {
  background: linear-gradient(180deg, #1e3a5f 0%, #152c47 100%);
  border-top: 1px solid #1a3355;
}

.contact .section-header h2 {
  color: #fff;
}

.contact .section-header p {
  color: rgba(255,255,255,0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.94rem;
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-submit {
  display: inline-block;
  padding: 13px 40px;
  background: #152c47;
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  width: 100%;
  border: none;
  cursor: pointer;
}

.form-submit:hover {
  background: #1b3d63;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.5);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.form-submit:hover .btn-arrow {
  transform: translateX(5px);
}

.form-feedback {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Contact Info Sidebar */
/* Sidebar quick info */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--bg-white);
  border: 1px solid #e8eaef;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.sidebar-info-item:last-child { margin-bottom: 0; }
.sidebar-info-item .s-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.sidebar-info-item .s-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.sidebar-info-item .s-text span {
  font-size: 0.9rem;
  color: var(--text);
}

/* === Footer === */
.footer {
  background: var(--text);
  color: #cbd5e1;
  padding: 40px 0;
  font-size: 0.9rem;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: #94a3b8;
  transition: color var(--transition);
}

.footer a:hover {
  color: #fff;
}

/* ====== Footer Sitemap ====== */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 0.88rem;
  padding: 5px 0;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 0 0 6px 0;
}

.footer-col .contact-icon {
  margin-right: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-privacy a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-privacy a:hover {
  color: #fff;
}

/* === Responsive Design === */

/* Tablet (max 900px) */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .case-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .footer-sitemap {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .section {
    padding: 56px 0;
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    gap: 2px;
  }

  .nav-links.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .lang-switch {
    justify-content: center;
    margin-left: 0;
    padding: 8px 16px;
    border-top: 1px solid var(--border);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  /* Product Cards */
  .product-grid {
    grid-template-columns: 1fr;
  }

  /* Cases */
  .case-grid {
    grid-template-columns: 1fr;
  }

  /* Contact Form */
  .contact-form {
    padding: 24px;
  }

  /* Footer */
  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 8px;
  }

  /* Hero */
  .hero-carousel {
    height: clamp(200px, 32.3vw, min(400px, calc(100vh - var(--nav-height))));
  }

  .hero-arrow {
    opacity: 1;
    width: 36px;
    height: 36px;
  }

  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-arrow-left { left: 12px; }
  .hero-arrow-right { right: 12px; }

  .hero-dots { bottom: 16px; gap: 8px; }
  .hero-dot { width: 8px; height: 8px; }
  .hero-dot.active { width: 22px; }

  .footer-sitemap {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 0 32px;
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .page-container {
    padding: 0 16px;
  }

  .hero-carousel {
    height: clamp(160px, 32.3vw, min(320px, calc(100vh - var(--nav-height))));
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .footer-sitemap {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 0 24px;
  }

  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
  }

  .footer-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* === Animations === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeUp 0.6s ease forwards;
}

/* ====== Solutions Page ====== */
.solutions-hero {
  margin-top: var(--nav-height);
  position: relative;
  height: clamp(180px, 20.8vw, 400px);
  background: url('../images/hero/solutions-hero.jpg') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.solutions-hero-bar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  width: 100%;
  padding: 20px 60px;
  text-align: center;
}
.solutions-hero-bar h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

/* Tab navigation */
.solutions-tabs {
  background: #ffffff;
  padding: 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}
.tab-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  flex-shrink: 0;
  padding: 16px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

/* Tab content */
.tab-content {
  display: none;
  padding: 50px 0;
}
.tab-content.active { display: block; }

/* Pain points grid */
/* Hotel challenges — compact single-row 6 items */
.hotel-challenges {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.hotel-challenge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 12px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: default;
  text-align: center;
}
.hotel-challenge:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.hotel-challenge-img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.hotel-challenge-img img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.hotel-challenge-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}
.hotel-challenge-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .hotel-challenges {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .hotel-challenges {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .hotel-challenge {
    padding: 18px 10px;
    gap: 6px;
  }
  .hotel-challenge-img,
  .hotel-challenge-img img {
    width: 40px;
    height: 40px;
  }
  .hotel-challenge-text {
    font-size: 0.85rem;
  }
  .hotel-challenge-desc {
    font-size: 0.72rem;
  }
}
@media (max-width: 480px) {
  .hotel-challenges {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hotel-challenge {
    padding: 14px 8px;
  }
}

/* ============================================================
   智慧办公 Tab 样式 (原 page-79595.html)
   ============================================================ */

/* --- Section 1: 4-Module Pain Points --- */
.office-pains {
  padding: 50px 0 40px;
  background: #f5f7fa;
}

/* 4-Col Grid — Pain Cards (matches product style) */
.office-pains-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pain-block {
  background: #fff;
  border: 1px solid var(--border, #e8e8e8);
  border-radius: var(--radius-lg, 10px);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
}
.pain-block:hover {
  box-shadow: var(--shadow-lg, 0 6px 20px rgba(0,0,0,0.1));
  transform: translateY(-2px);
}

.pain-block-img img {
  width: 100%;
  height: auto;
  display: block;
}

.pain-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #333);
  margin: 14px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pain-block h3 span {
  font-size: 1.1rem;
}

.pain-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 18px 18px;
}
.pain-block li {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* --- Section 2: SmartSpaces Title --- */
.office-smartspaces {
  padding: 40px 0 30px;
  background: #fff;
}
.office-smartspaces-title {
  text-align: center;
}
.office-ss-en {
  display: block;
  font-family: arial, helvetica, sans-serif;
  font-size: 24px;
  color: var(--primary, #1a73e8);
  margin-bottom: 12px;
}
.office-ss-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.office-ss-line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: #ddd;
}
.office-ss-divider h2 {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 20px;
  color: #666;
  font-weight: 400;
  white-space: nowrap;
  margin: 0;
}

/* --- Section 3: Product Cards Grid --- */
.office-products {
  padding: 10px 0 50px;
  background: #fff;
}
.office-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.office-product-card {
  background: #fff;
  border: 1px solid var(--border, #e8e8e8);
  border-radius: var(--radius-lg, 10px);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
}
.office-product-card:hover {
  box-shadow: var(--shadow-lg, 0 6px 20px rgba(0,0,0,0.1));
  transform: translateY(-2px);
}
.office-product-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.office-product-imgs .office-product-img {
  border: 1px solid var(--border, #e8e8e8);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.office-product-img img {
  width: 100%;
  height: auto;
  display: block;
}
.office-product-info {
  padding: 14px 16px 6px;
}
.office-product-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text, #333);
}

/* Solution list inside product card */
.office-product-solves {
  list-style: none;
  text-align: center;
  padding: 8px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.office-product-solves li {
  font-size: 0.9rem;
  color: var(--text, #333);
  line-height: 1.5;
}

.office-btn {
  display: inline-block;
  margin: 10px 0 16px;
  padding: 8px 28px;
  border: 1px solid var(--primary, #1a73e8);
  color: var(--primary, #1a73e8);
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
}
.office-btn:hover {
  background: var(--primary, #1a73e8);
  color: #fff;
}

/* Responsive: Smart Office */
@media (max-width: 900px) {
  .office-pains-modules {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .office-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .office-pains-modules {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .office-products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pain-block ul {
    padding: 0 14px 14px;
  }
  .office-product-solves {
    padding: 6px 14px 0;
  }
  .office-ss-divider h2 {
    font-size: 16px;
  }
}

/* --- Section 4: 数字化空间解决方案 (会前/会中/会后 三卡片) --- */
.office-flow-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.office-flow-card {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s ease;
  cursor: pointer;
}

.office-flow-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(26, 95, 180, 0.18);
}

/* 卡片上方图片区 */
.office-flow-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.office-flow-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 卡片下方内容区 (按模块分色) */
.office-flow-card-body {
  color: #fff;
  padding: 18px 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease;
}

/* 会议 — 蓝色 */
.office-flow-card-body.theme-meeting {
  background-color: #1e40af;
}
.office-flow-card:hover .office-flow-card-body.theme-meeting {
  background-color: #2563eb;
}

/* 工位 — 青色 */
.office-flow-card-body.theme-desk {
  background-color: #0f766e;
}
.office-flow-card:hover .office-flow-card-body.theme-desk {
  background-color: #0d9488;
}

/* 访客 — 紫色 */
.office-flow-card-body.theme-visitor {
  background-color: #7c3aed;
}
.office-flow-card:hover .office-flow-card-body.theme-visitor {
  background-color: #8b5cf6;
}

/* 环境 — 翠绿 */
.office-flow-card-body.theme-env {
  background-color: #15803d;
}
.office-flow-card:hover .office-flow-card-body.theme-env {
  background-color: #16a34a;
}

.office-flow-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.3;
}

.office-flow-card-desc {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  flex-grow: 1;
}

/* 入场动画 */
@keyframes officeFlowFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.office-flow-card {
  animation: officeFlowFadeUp 0.6s ease forwards;
  opacity: 0;
}
.office-flow-card:nth-child(1) { animation-delay: 0.1s; }
.office-flow-card:nth-child(2) { animation-delay: 0.25s; }
.office-flow-card:nth-child(3) { animation-delay: 0.4s; }

/* Responsive: Flow Cards */
@media (max-width: 900px) {
  .office-flow-section {
    gap: 24px;
  }
  .office-flow-card {
    min-width: 260px;
    max-width: 340px;
  }
}
@media (max-width: 768px) {
  .office-flow-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .office-flow-card {
    min-width: 100%;
    max-width: 400px;
  }
  .office-flow-card-img {
    height: 170px;
  }
}

/* Page container (matches .container for solutions tabs) */
.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Full-width background section */
.hotel-fullbg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.hotel-fullbg-light {
  background: #f8f8f8;
  padding: 50px 0;
  text-align: center;
}

/* ====== Case Clients Carousel ====== */
.case-clients-wrapper {
  margin-top: 36px;
  background: var(--bg-white);
  border: 1px solid #e8eaef;
  border-radius: var(--radius-lg);
  padding: 22px 28px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.case-clients-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-left: 2px;
}
.case-clients-carousel {
  overflow: hidden;
  max-width: 100%;
}
.case-clients-track {
  display: flex;
  gap: 20px;
  animation: scroll-cases 30s linear infinite;
  width: fit-content;
}
.case-clients-track:hover {
  animation-play-state: paused;
}
.case-client-item {
  flex: 0 0 auto;
  width: 180px;
  height: 86px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.case-client-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.case-client-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes scroll-cases {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .case-clients-wrapper {
    padding: 16px 18px 14px;
  }
  .case-clients-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .case-clients-track {
    animation: none;
    width: fit-content;
  }
  .case-client-item {
    width: 144px;
    height: 72px;
    padding: 12px;
  }
}
.hotel-fullbg h2,
.hotel-fullbg-light h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  text-align: center;
}
.hotel-flowchart {
  max-width: 100%;
  display: flex;
  justify-content: center;
}
.hotel-flowchart img {
  max-width: 100%;
  max-height: 520px;
  height: auto;
  width: auto;
}

/* Hotel APP modules with images */
.hotel-app-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.hotel-app-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}
.hotel-app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.hotel-app-card:hover img {
  transform: scale(1.08);
}
.hotel-app-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 20px 16px;
  transition: all 0.3s;
}
.hotel-app-overlay h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.hotel-app-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  line-height: 1.6;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s;
}
.hotel-app-card:hover .hotel-app-overlay p {
  max-height: 120px;
}
@media (max-width: 768px) {
  .hotel-app-modules {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Scene accordion */
.hotel-scenes {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  min-height: 280px;
}
.hotel-scene {
  flex: 1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.4s ease;
  min-width: 40px;
}
.hotel-scene.active {
  flex: 2.5;
}
.hotel-scene-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hotel-scene-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}
.hotel-scene-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.hotel-scene-content p {
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s;
}
.hotel-scene.active .hotel-scene-content p {
  opacity: 1;
  max-height: 200px;
}
.hotel-scene-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
}
.hotel-scene-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .hotel-scenes {
    flex-direction: column;
    min-height: auto;
    gap: 12px;
  }
  .hotel-scene {
    flex: none;
    height: 120px;
    min-width: auto;
  }
  .hotel-scene.active {
    flex: none;
    height: 220px;
  }
}

/* ============================================
   智慧客服 (tab-cs)
   ============================================ */

/* Pain points hero */
.cs-hero {
  margin-bottom: 50px;
}
.cs-hero-text {
  text-align: center;
  margin-bottom: 30px;
}
.cs-hero-text h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
}
.cs-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.cs-pain-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s;
  text-align: center;
}
.cs-pain-item:hover { transform: translateY(-2px); }
.cs-pain-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.cs-pain-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.cs-pain-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 240px;
}

/* Call center section */
.cs-callcenter-section {
  margin-bottom: 50px;
}
.cs-callcenter-section .section-header h2 .cs-subtitle {
  display: block;
  font-size: 0.7em;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 1px;
}
.cs-callcenter-intro {
  display: flex;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.cs-callcenter-img {
  flex: 0 0 22%;
}
.cs-callcenter-img img {
  width: 100%;
  border-radius: var(--radius);
}
.cs-callcenter-text {
  flex: 0 0 78%;
}
.cs-callcenter-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
}

/* Call Management System */
.cs-callms {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid #eef2f6;
}
.cs-callms h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef2f6;
}
.cs-callms h3 small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}
.cs-callms-features h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-callms-features h4::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}
.cs-callms-features ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cs-callms-features li {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: border-color .2s, background .2s;
}
.cs-callms-features li:hover {
  border-left-color: var(--primary);
  background: #f0f4ff;
}
.cs-callms-features li strong {
  color: var(--text);
  margin-right: 6px;
}

/* Service items grid */
.cs-services-section {
  margin-bottom: 30px;
}
.cs-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cs-service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.cs-service-card:hover { transform: translateY(-3px); }
.cs-service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.cs-service-info {
  padding: 16px 20px;
}
.cs-service-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.cs-service-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   智慧楼宇 (tab-building)
   ============================================ */

.building-hero {
  display: flex;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 50px;
}
.building-hero-content {
  flex: 1;
}
.building-hero-content h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.building-hero-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.building-hero-sub {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.building-biz-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.building-biz-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.biz-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.building-biz-item h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}
.building-biz-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}
.building-hero-img {
  flex-shrink: 0;
  width: 400px;
  border-radius: var(--radius);
  overflow: hidden;
}
.building-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Building service cards */
.building-services {
  margin-bottom: 30px;
}
.building-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.building-svc-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s;
}
.building-svc-card:hover { transform: translateY(-3px); }
.building-svc-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.building-svc-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  padding: 14px 14px 0;
}
.building-svc-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 4px 14px 16px;
  line-height: 1.5;
}

/* Building area cards (kept as alternative display) */
.building-areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.building-area {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 20px;
}
.building-area h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.building-area p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   企业通讯 (tab-comms)
   ============================================ */

.comms-hero {
  display: flex;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 50px;
}
.comms-hero-img {
  flex-shrink: 0;
  width: 320px;
  background: #0a1628;
  border-radius: var(--radius);
  overflow: hidden;
}
.comms-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.comms-hero-content {
  flex: 1;
}
.comms-hero-header h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.comms-hero-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Product cards */
.comms-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.comms-product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.comms-product-card:hover { transform: translateY(-3px); }
.comms-product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.comms-product-info {
  padding: 14px 16px;
}
.comms-product-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.comms-product-info p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Solution cards */
.comms-solutions {
  margin-bottom: 30px;
}
.comms-sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.comms-sol-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.comms-sol-card:hover { transform: translateY(-3px); }
.comms-sol-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.comms-sol-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  padding: 14px 16px;
}

/* Comms card cursor hint */
.comms-sol-card[data-lightbox] { cursor: pointer; }
.comms-sol-card[data-lightbox]::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15 3l2.3 2.3-2.89 2.87 1.42 1.42L18.7 6.7 21 9V3h-6zM3 9l2.3-2.3 2.87 2.89 1.42-1.42L6.7 5.3 9 3H3v6zm12 12l-2.3-2.3 2.89-2.87-1.42-1.42L11.3 17.3 9 15v6h6zm-6 0v-6l2.3 2.3-2.87 2.89 1.42 1.42L5.3 18.7 3 21h6z'/%3E%3C/svg%3E") center no-repeat;
  background-size: 16px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  z-index: 2;
}
.comms-sol-card[data-lightbox]:hover::after { opacity: 1; }

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 10000;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: .7; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  transform: scale(.9);
  transition: transform .3s;
}
.lightbox-overlay.active .lightbox-img { transform: scale(1); }

@media (max-width: 768px) {
  .lightbox-close { top: 12px; right: 16px; font-size: 28px; }
  .lightbox-img { max-width: 95vw; max-height: 80vh; }
}

/* Infrastructure lantern gallery */
.hotel-infra {
  margin-top: 20px;
  padding-bottom: 40px;
}

/* Outer wrapper for gallery + arrows */
.hotel-infra-wrapper {
  position: relative;
}

/* Prev / Next arrow buttons */
.infra-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #333;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
}
.infra-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.infra-arrow-left  { left: -8px; }
.infra-arrow-right { right: -8px; }

/* Horizontal scroll gallery */
.hotel-infra-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  cursor: grab;
  /* Subtle scrollbar for discoverability */
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.hotel-infra-gallery:active {
  cursor: grabbing;
}
.hotel-infra-gallery::-webkit-scrollbar {
  height: 5px;
}
.hotel-infra-gallery::-webkit-scrollbar-track {
  background: transparent;
}
.hotel-infra-gallery::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* Each card */
.hotel-infra-item {
  flex: 0 0 220px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  scroll-snap-align: start;
}
.hotel-infra-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hotel-infra-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hotel-infra-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  padding: 14px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
}

/* Mobile: smaller cards, still horizontal scroll */
@media (max-width: 768px) {
  .hotel-infra-item {
    flex: 0 0 160px;
    aspect-ratio: 3 / 4;
  }
  .hotel-infra-gallery {
    gap: 10px;
    padding: 6px 0 12px;
  }
  .infra-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .infra-arrow-left  { left: -4px; }
  .infra-arrow-right { right: -4px; }
  .hotel-infra-label {
    font-size: 0.8rem;
    padding: 10px 8px;
  }
}

/* Hotel ops cards */
.hotel-ops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}
.hotel-ops-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.hotel-ops-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s;
}
.hotel-ops-card:hover img {
  transform: scale(1.04);
}
.hotel-ops-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
}
.hotel-ops-card-label h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.hotel-ops-card-label p {
  font-size: 0.82rem;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .hotel-ops {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.solutions-cta {
  background: linear-gradient(135deg, #0d3279 0%, #1a56db 100%);
  padding: 60px 0;
}
.solutions-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
}
.solutions-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.solutions-cta .hero-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #fff;
  color: #0d3279;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  transition: all .25s;
  text-decoration: none;
}
.solutions-cta .hero-btn:hover {
  background: #e8f0fe;
  color: #0d3279;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Solutions responsive */
@media (max-width: 768px) {
  .solutions-hero { min-height: 260px; }
  .solutions-hero-bar { padding: 12px 32px; }
  .tab-btn { padding: 14px 18px; font-size: 0.85rem; }
  .cs-pain-grid { grid-template-columns: 1fr; }
  .building-areas { grid-template-columns: 1fr; }
  .comms-products-grid { grid-template-columns: 1fr; }
  .tab-content { padding: 30px 0; }
  
  /* 智慧客服 responsive */
  .cs-pain-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cs-pain-item { padding: 18px 12px; }
  .cs-pain-icon { width: 44px; height: 44px; }
  .cs-pain-desc { font-size: 0.75rem; }
  .cs-callcenter-intro { flex-direction: column; }
  .cs-callcenter-img img { width: 100%; }
  .cs-callms-features ul { grid-template-columns: 1fr; }
  .cs-services-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* 智慧楼宇 responsive */
  .building-hero { flex-direction: column-reverse; }
  .building-hero-img { width: 100%; }
  .building-hero-img img { width: 100%; height: 220px; }
  .building-svc-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* 企业通讯 responsive */
  .comms-hero { flex-direction: column; }
  .comms-hero-img { width: 100%; }
  .comms-hero-img img { width: 100%; height: 220px; }
  .comms-products-grid { grid-template-columns: 1fr; }
  .comms-sol-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .solutions-hero-bar { padding: 14px 16px; }
  .hotel-challenges { grid-template-columns: repeat(2, 1fr); }
  .cs-pain-grid { grid-template-columns: 1fr; }
  .cs-pain-item { padding: 16px 12px; gap: 6px; }
  .cs-pain-icon { width: 40px; height: 40px; }
  .cs-pain-title { font-size: 0.85rem; }
  .cs-pain-desc { font-size: 0.72rem; }
  .building-svc-grid { grid-template-columns: 1fr; }
  .comms-products-grid { grid-template-columns: 1fr; }
  .comms-sol-grid { grid-template-columns: 1fr; }
}

/* === Print Styles === */
@media print {
  .navbar, .lang-switch, .menu-toggle { display: none !important; }
  .hero { display: none; }
}
