/* ==========================================================================
   global.css — 首页 PC 端布局与区块样式
   ========================================================================== */

/* ---------- Hero Banner 多图轮播 ---------- */
.hero {
  position: relative;
  min-height: 550px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 550px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 2px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--color-white);
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.hero-dots button.is-active {
  background: var(--color-white);
  transform: scale(1.15);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  transition: background var(--transition);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.45);
  opacity: 1;
}

.hero-arrow .iconfont {
  font-size: 28px;
  color: var(--color-white);
  line-height: 1;
}

.hero-arrow--prev {
  left: 24px;
}

.hero-arrow--next {
  right: 24px;
}

/* ---------- 特色四栏 ---------- */
.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-item {
  padding: 35px 25px;
  text-align: center;
  color: var(--color-white);
}

.feature-item:nth-child(1) {
  background: #1c9ccd;
}

.feature-item:nth-child(2) {
  background: #0e8cc7;
}

.feature-item:nth-child(3) {
  background: #026eac;
}

.feature-item:nth-child(4) {
  background: #005b9a;
}

.feature-item .feature-icon {
  display: inline-block;
  font-size: 52px;
  line-height: 1;
  margin: 0 auto 16px;
  color: var(--color-white);
  transition: transform 0.6s ease;
}

.feature-item:hover .feature-icon {
  transform: rotate(360deg);
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.feature-item p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.92;
}

/* ---------- SPEZIALDIENST ---------- */
.section-services {
  padding: 70px 0 0;
  background: var(--color-white);
}

/* 合作医疗机构：三列静态网格，左右对齐 1200px */
.services-grid {
  display: flex;
  max-width: var(--container-width);
  margin: 0 auto;
  gap: 20px;
}

a.service-card {
  flex: 1;
  min-width: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

a.service-card:hover {
  opacity: 1;
}

.service-card-inner {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

a.service-card:hover .service-card-inner {
  transform: translateY(-10px);
  background: rgba(10, 154, 154, 0.06);
  box-shadow: 0 12px 28px rgba(10, 154, 154, 0.15);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 20px;
}

.service-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.service-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 四步轻松完成中国就医 ---------- */
.section-steps {
  padding: 70px 0 80px;
  background: var(--color-bg-light);
}

.steps-flow {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-flow::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step-tag {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-nav-bg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- 我们的服务 ---------- */
.section-our-services {
  padding: 70px 0 80px;
  background: var(--color-white);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  padding: 28px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: box-shadow var(--transition);
}

.offer-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.offer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: rgba(10, 154, 154, 0.12);
}

.offer-icon .iconfont {
  font-size: 24px;
  color: var(--color-primary);
  line-height: 1;
}

.offer-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.offer-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 16px;
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2.5;
}

.offer-list li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #2ea84a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M4.5 8.2L2.3 6l-.8.8 3 3 6-6-.8-.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ---------- 跨境诊疗费用对比 ---------- */
.section-cost-compare {
  padding: 70px 0 80px;
  background: var(--color-bg-light);
}

.cost-slider {
  position: relative;
}

.cost-slides {
  position: relative;
  overflow: hidden;
}

.cost-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.cost-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.cost-slide-header {
  text-align: center;
  margin-bottom: 36px;
}

.cost-slide-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.cost-slide-en {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-nav-bg);
  margin-bottom: 10px;
}

.cost-slide-sub {
  font-size: 14px;
  color: var(--color-text-muted);
}

.cost-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.cost-card {
  padding: 28px 28px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 76, 135, 0.06);
}

.cost-card--china {
  border: 1px solid rgba(0, 76, 135, 0.22);
  border-top: 3px solid var(--color-primary);
  background: linear-gradient(180deg, rgba(0, 76, 135, 0.06) 0%, var(--color-white) 48px);
  box-shadow: 0 4px 20px rgba(0, 76, 135, 0.1);
}

.cost-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.4;
}

.cost-card h3 span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.cost-price-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.cost-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.cost-price-list li:last-child {
  border-bottom: none;
}

.cost-label {
  color: var(--color-text-light);
  flex: 1;
  min-width: 0;
}

.cost-price {
  flex-shrink: 0;
  font-weight: 700;
  white-space: nowrap;
}

.cost-price--foreign {
  color: #c45c26;
}

.cost-price--china {
  color: var(--color-primary);
}

.cost-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.cost-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cost-points li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.cost-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-text-muted);
}

.cost-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.cost-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.cost-arrow--prev {
  left: -8px;
}

.cost-arrow--next {
  right: -8px;
}

.cost-arrow .iconfont {
  font-size: 22px;
  line-height: 1;
}

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

.cost-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.cost-dots button.is-active {
  background: var(--color-primary);
  transform: scale(1.2);
}

.cost-disclaimer {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ---------- 生物医学新技术 ---------- */
.section-biotech {
  padding: 50px 0 50px;
  background: var(--color-white);
}

.bio-table-wrap {
  position: relative;
}

.bio-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 76, 135, 0.08);
}

.bio-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.bio-table thead th {
  padding: 14px 16px;
  background: rgba(0, 76, 135, 0.08);
  color: var(--color-primary);
  font-weight: 700;
  text-align: left;
  border: 1px solid rgba(0, 76, 135, 0.12);
}

.bio-table tbody td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: top;
}

.bio-table tbody tr:nth-child(odd) td {
  background: var(--color-white);
}

.bio-table tbody tr:nth-child(even) td {
  background: rgba(12, 123, 178, 0.04);
}

.bio-table-wrap.is-collapsed .bio-table tbody tr:nth-child(n + 4) {
  display: none;
}

.bio-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: none;
  background: transparent;
  color: var(--color-primary);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s;
}

.bio-toggle:hover {
  color: var(--color-nav-bg);
}

.bio-toggle .iconfont {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.35s ease;
}

.bio-table-wrap.is-collapsed .bio-toggle .iconfont {
  animation: bio-bounce 1.4s ease-in-out infinite;
}

.bio-table-wrap.is-expanded .bio-toggle .iconfont {
  animation: none;
  transform: rotate(180deg);
}

@keyframes bio-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* ---------- 康养疗养基地 ---------- */
.section-memories {
  position: relative;
  overflow: hidden;
}

.section-memories-link {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 500px;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.section-memories-link:hover {
  opacity: 1;
}

.section-memories-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform-origin: center center;
  animation: memories-kenburns 10s ease-in-out infinite alternate;
  will-change: transform;
}

.section-memories-link:hover .section-memories-bg {
  animation-duration: 10s;
}

@keyframes memories-kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(-1.5%, -1%);
  }
}

.section-memories-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 80, 80, 0.75) 0%, rgba(0, 80, 80, 0.3) 60%, transparent 100%);
  pointer-events: none;
}

.section-memories-link .container {
  position: relative;
  z-index: 2;
}

.memories-content {
  position: relative;
  padding: 60px 0;
  color: var(--color-white);
}

.memories-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.memories-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.9;
}

.memories-content p {
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.88;
}

/* ---------- 专家团队 ---------- */
.section-experts {
  padding: 40px 0 40px;
  background: var(--color-bg-light);
}

.experts-grid {
  display: flex;
  max-width: var(--container-width);
  margin: 0 auto;
  gap: 20px;
}

a.expert-card {
  flex: 1;
  min-width: 0;
  display: block;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s ease;
}

a.expert-card:hover {
  opacity: 1;
  transform: translateY(-8px);
}

.expert-avatar {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}

a.expert-card:hover .expert-avatar {
  box-shadow: 0 8px 24px rgba(10, 154, 154, 0.35);
}

.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.expert-card .expert-title {
  font-size: 16px;
  color: var(--color-text-muted);
}

/* ---------- Krankenhaus Einführung ---------- */
.section-hospital {
  position: relative;
  padding: 70px 0;
  background: url("../images/bgtu.jpg") center center / cover no-repeat;
  color: var(--color-white);
  text-align: center;
}

.section-hospital::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 154, 154, 0.5);
}

.section-hospital .container {
  position: relative;
  z-index: 1;
}

.hospital-intro-text {
  max-width: 800px;
  margin: 0 auto 50px;
}

.hospital-intro-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hospital-intro-text p {
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.92;
}

.hospital-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  max-width: 220px;
  padding: 0 30px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.4);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
}

/* ---------- 常见问题 ---------- */
.section-faq {
  position: relative;
  padding: 40px 0 40px;
  background-color: var(--color-bg-light);
  background-image: url("../images/faq-bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  z-index: 0;
}

.section-faq .container {
  position: relative;
  z-index: 1;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-card {
  padding: 24px 26px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 76, 135, 0.08);
  transition: box-shadow var(--transition);
}

.faq-card:hover {
  box-shadow: 0 8px 28px rgba(0, 76, 135, 0.12);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-nav-bg);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.faq-q h3 {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
}

.faq-a {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ---------- 免费咨询 ---------- */
.section-consult {
  padding: 30px 0 30px;
  background: var(--color-primary);
  color: var(--color-white);
}

.consult-inner {
  text-align: center;
}

.consult-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.consult-subtitle {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 24px;
}

.consult-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  margin-bottom: 36px;
  background: var(--color-nav-bg);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.consult-cta:hover {
  background: #0a6a9a;
  opacity: 1;
  transform: translateY(-2px);
}

.consult-form {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: left;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.consult-form-row {
  display: grid;
  gap: 16px;
}

.consult-form-row--info {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
}

.consult-field {
  display: block;
  margin-bottom: 0;
}

.consult-field--content {
  margin-bottom: 16px;
}

.consult-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.95);
}

.consult-field input,
.consult-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  transition: border-color var(--transition);
}

.consult-field input:focus,
.consult-field textarea:focus {
  border-color: var(--color-nav-bg);
}

.consult-field textarea {
  resize: vertical;
  min-height: 64px;
}

.consult-submit {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-white);
  background: var(--color-nav-bg);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition);
}

.consult-submit:hover {
  background: #0a6a9a;
}
