/* ============================================
   领航鱼IT · 官网样式表
   主色：藏青 #0F172A  强调色：亮橙 #FF6B00
   字体：思源黑体
   含品牌故事、一键拨号、404页面、卡片hover动画、sticky扫码条、活动横幅（纯图片+文字居中叠加，图片按比例完整显示）
   ============================================ */

/* ----- 全局变量 ----- */
:root {
  --navy: #0F172A;
  --orange: #FF6B00;
  --white: #FFFFFF;
  --light-gray: #F5F6F8;
  --max-width: 960px;
}

/* ----- 基础重置 ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Source Han Sans SC', 'Noto Sans SC', '思源黑体', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  line-height: 1.7;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

/* ----- 导航栏 ----- */
.navbar {
  background: var(--navy);
  color: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.navbar .logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .logo-area img {
  width: 100px;
  height: auto;
}

.navbar .logo-area .brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.navbar .nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar .nav-links a {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: color 0.2s;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: var(--orange);
}

/* ----- 导航栏一键拨号按钮 ----- */
.nav-phone {
  color: var(--orange);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav-phone {
    font-size: 0.9375rem;
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* ----- 移动端汉堡菜单（纯 CSS） ----- */
.hamburger-toggle {
  display: none;
}

.hamburger-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger-icon span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger-icon {
    display: flex;
  }

  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0 !important;
    padding: 8px 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
  }

  .hamburger-toggle:checked~.nav-links {
    display: flex !important;
  }

  .navbar .logo-area img {
    width: 80px;
  }

  .navbar .logo-area .brand-name {
    font-size: 1rem;
  }
}

/* ----- 藏青色全宽版块 ----- */
.section-navy {
  background: var(--navy);
  color: var(--white);
  padding: 60px 20px;
}

.section-navy .container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ----- 浅灰色全宽版块 ----- */
.section-gray {
  background: var(--light-gray);
  color: var(--navy);
  padding: 50px 20px;
}

.section-gray .container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ----- 品牌首屏 ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .logo-main {
  width: 180px;
  margin-bottom: 30px;
}

.hero .brand-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero .brand-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
  opacity: 0.9;
}

.hero .brand-tagline {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  opacity: 0.75;
}

.hero .brand-promise {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--orange);
  margin-bottom: 28px;
}

.hero .qrcode-wrap {
  display: inline-block;
  border: 2px solid var(--orange);
  padding: 4px;
  margin-bottom: 10px;
}

.hero .qrcode-wrap img {
  width: 100px;
  height: 100px;
  display: block;
}

.hero .qrcode-hint {
  font-size: 0.8125rem;
  color: var(--white);
  margin-bottom: 32px;
  opacity: 0.8;
}

.hero .scroll-hint {
  font-size: 0.875rem;
  color: var(--white);
  opacity: 0.7;
  animation: float-strong 2s ease-in-out infinite;
  letter-spacing: 2px;
}

@keyframes float-strong {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero .logo-main {
    width: 130px;
    margin-bottom: 22px;
  }
  .hero .brand-title {
    font-size: 1.75rem;
  }
  .hero .brand-subtitle {
    font-size: 1rem;
  }
  .hero .brand-tagline {
    font-size: 0.875rem;
  }
  .hero .brand-promise {
    font-size: 0.8125rem;
  }
  .hero .scroll-hint {
    margin-top: 20px;
    font-size: 0.875rem;
    opacity: 0.75;
  }
}

/* ----- 品牌故事区 ----- */
.brand-story {
  max-width: 720px;
  margin: 0 auto;
}

.brand-story .story-text {
  font-size: 0.9375rem;
  color: var(--white);
  opacity: 0.85;
  line-height: 1.9;
  margin-bottom: 16px;
}

.brand-story .story-highlight {
  font-size: 0.9375rem;
  color: var(--orange);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .brand-story .story-text,
  .brand-story .story-highlight {
    font-size: 0.875rem;
  }
}

/* ----- 三列卡片网格 ----- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-grid-2x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .card-grid-3,
  .card-grid-2x3 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .card-grid-2x3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----- 承诺卡片 ----- */
.promise-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 4px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.promise-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.promise-card .icon {
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 12px;
  line-height: 1;
}

.promise-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.promise-card p {
  font-size: 0.9375rem;
  color: var(--navy);
  opacity: 0.85;
  line-height: 1.6;
}

/* ----- 业务卡片 ----- */
.service-card {
  display: block;
  padding: 22px 16px;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card .icon {
  font-size: 1.75rem;
  color: var(--orange);
  margin-bottom: 8px;
  line-height: 1;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-card p {
  font-size: 0.9375rem;
  opacity: 0.8;
}

/* ----- 案例卡片（首页预览） ----- */
.case-card {
  display: block;
  padding: 24px 18px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--white);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.case-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.case-card .case-keyword {
  font-size: 0.75rem;
  color: var(--orange);
  margin-bottom: 8px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.case-card p {
  font-size: 0.9375rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* ----- 价格卡片 ----- */
.price-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 4px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.price-card .price-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}

.price-card .price-desc {
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.price-card .price-note {
  font-size: 0.8125rem;
  color: var(--navy);
  opacity: 0.6;
}

/* ----- 联系方式区 ----- */
.contact-area {
  text-align: center;
  padding: 50px 20px;
}

.contact-area h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-area .phone {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-area .phone a {
  color: var(--orange);
  text-decoration: none;
}

.contact-area .info {
  font-size: 0.9375rem;
  opacity: 0.85;
  margin-bottom: 4px;
}

.contact-area .info a {
  color: var(--orange);
  text-decoration: none;
}

.contact-area .qrcode-wrap {
  display: inline-block;
  border: 2px solid var(--orange);
  padding: 4px;
  margin: 20px 0 8px;
}

.contact-area .qrcode-wrap img {
  width: 120px;
  height: 120px;
  display: block;
}

.contact-area .qrcode-hint {
  font-size: 0.9375rem;
  opacity: 0.8;
}

/* ----- 底部信息栏 ----- */
.footer-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 20px;
  font-size: 0.8125rem;
  opacity: 0.7;
  line-height: 1.8;
}

.footer-bar a {
  color: var(--white);
}

/* ----- 页面标题 ----- */
.page-title {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 50px 20px 40px;
}

.page-title h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-title p {
  font-size: 0.9375rem;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .page-title h1 {
    font-size: 1.5rem;
  }
  .page-title {
    padding: 36px 16px 28px;
  }
}

/* ----- 通用版块标题 ----- */
.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
}

/* ----- 服务详情列表 ----- */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .service-list {
    grid-template-columns: 1fr;
  }
}

.service-detail {
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 4px;
  padding: 24px 20px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.service-detail:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-detail .icon {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 10px;
}

.service-detail h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-detail p {
  font-size: 0.9375rem;
  color: var(--navy);
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ----- 服务项目页 sticky 扫码条 ----- */
.sticky-qrcode {
  position: sticky;
  top: 90px;
  z-index: 99;
  background: var(--light-gray);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

.sticky-qrcode .qrcode-mini {
  display: inline-block;
  border: 2px solid var(--orange);
  padding: 2px;
  flex-shrink: 0;
}

.sticky-qrcode .qrcode-mini img {
  width: 72px;
  height: 72px;
  display: block;
}

.sticky-qrcode-text {
  font-size: 1rem;
  color: var(--orange);
  font-weight: 400;
}

/* ----- 案例详情列表 ----- */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-detail {
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 4px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.case-detail:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.case-detail .case-number {
  font-size: 0.8125rem;
  color: var(--orange);
  font-weight: 400;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-detail h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.case-detail .case-subtitle {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
}

.case-detail p {
  font-size: 0.9375rem;
  color: var(--navy);
  opacity: 0.85;
  line-height: 1.8;
  margin-bottom: 10px;
}

.case-detail .case-series-note {
  font-size: 0.875rem;
  color: var(--navy);
  opacity: 0.85;
  margin-top: 14px;
  padding-top: 12px;
  padding-left: 12px;
  border-top: 1px solid var(--light-gray);
  border-left: 3px solid var(--orange);
}

@media (max-width: 768px) {
  .case-detail {
    padding: 20px 16px;
  }
  .case-detail h2 {
    font-size: 1.125rem;
  }
  .case-detail p {
    font-size: 0.875rem;
  }
  .case-detail .case-subtitle {
    font-size: 0.875rem;
  }
}

/* ----- 联系页 ----- */
.contact-full {
  text-align: center;
  padding: 60px 20px;
}

.contact-full .logo-contact {
  width: 100px;
  margin-bottom: 20px;
}

.contact-full h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.contact-full .divider {
  width: 60%;
  max-width: 300px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 28px auto;
}

.contact-full .phone-big {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-full .phone-big a {
  color: var(--orange);
  text-decoration: none;
}

.contact-full .info-row {
  font-size: 0.9375rem;
  opacity: 0.85;
  margin-bottom: 6px;
}

.contact-full .info-row a {
  color: var(--orange);
  text-decoration: none;
}

.contact-full .qrcode-wrap {
  display: inline-block;
  border: 2px solid var(--orange);
  padding: 4px;
  margin: 20px 0 8px;
}

.contact-full .qrcode-wrap img {
  width: 120px;
  height: 120px;
  display: block;
}

.contact-full .qrcode-hint {
  font-size: 0.9375rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.contact-full .promise-line {
  font-size: 0.9375rem;
  color: var(--orange);
  font-weight: 400;
}

@media (max-width: 768px) {
  .contact-full h2 {
    font-size: 1.375rem;
  }
  .contact-full .phone-big {
    font-size: 1.25rem;
  }
  .contact-full .info-row {
    font-size: 0.875rem;
  }
}

/* ----- 浮动标题组 ----- */
.sticky-header-group {
  position: sticky;
  top: 56px;
  z-index: 98;
}

.sticky-header-group .page-title {
  padding-bottom: 20px;
}

/* ----- 404 页面 ----- */
.page-404 {
  background: var(--navy);
  min-height: 100vh;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-logo {
  width: 80px;
  margin-bottom: 20px;
}

.error-page h1 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.error-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.error-hint {
  font-size: 0.9375rem;
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 6px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.error-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.error-btn:hover {
  background: var(--orange);
  color: var(--white);
  opacity: 1;
}

.error-btn-call {
  background: var(--orange);
  color: var(--white);
}

.error-btn-call:hover {
  background: var(--white);
  color: var(--orange);
}

/* ============================================================
   活动横幅 · 纯图片背景 + 文字居中叠加
   图片按比例完整显示，不变形
   ============================================================ */

.promo-carousel {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--navy);
}

.promo-carousel .container {
  max-width: 100% !important;
  padding: 0 !important;
  height: 100%;
  position: relative;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15%;
  cursor: pointer;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
}

/* ----- 图片：按比例完整显示，不变形 ----- */
.carousel-slide .slide-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

/* ----- 文字浮层（居中） ----- */
.carousel-overlay {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.carousel-overlay .promo-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.carousel-overlay h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.carousel-overlay h2 .highlight {
  color: var(--orange);
}

.carousel-overlay p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.carousel-overlay .promo-btn {
  display: inline-block;
  background: var(--white);
  color: var(--orange);
  padding: 10px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.carousel-overlay .promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ----- 指示点 ----- */
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: var(--white);
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   移动端适配补充（768px 及以下）
   ============================================================ */
@media (max-width: 768px) {
  /* sticky 扫码条 */
  .sticky-qrcode {
    top: 70px;
    padding: 10px 16px;
  }

  .sticky-qrcode .qrcode-mini img {
    width: 56px;
    height: 56px;
  }

  .sticky-qrcode-text {
    font-size: 0.875rem;
  }

  /* 活动横幅 */
  .promo-carousel {
    height: 200px;
  }

  .carousel-slide {
    padding: 0 8%;
  }

  .carousel-overlay {
    max-width: 90%;
  }

  .carousel-overlay h2 {
    font-size: 1.25rem;
  }

  .carousel-overlay p {
    font-size: 0.8125rem;
    margin-bottom: 14px;
  }

  .carousel-overlay .promo-btn {
    padding: 6px 20px;
    font-size: 0.75rem;
  }

  .carousel-overlay .promo-tag {
    font-size: 0.625rem;
    padding: 2px 12px;
    margin-bottom: 6px;
  }

  .carousel-dots {
    bottom: 8px;
  }

  .carousel-dots .dot {
    width: 8px;
    height: 8px;
  }

  /* 服务项目页 sticky 标题组 */
  .sticky-header-group {
    top: 52px;
  }

  .sticky-header-group .page-title {
    padding-bottom: 14px;
  }
}