/* ============================================================
   奥瑞环球私人医疗集团 Aureus Global Private Health
   主样式表 styles/main.css
   纯静态 · 无外部依赖 · 响应式
   ============================================================ */

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

:root {
  /* 色彩 —— 深青绿（医学、信任） + 暖金（尊贵、私人） */
  --teal-900: #0c2b2c;
  --teal-800: #103a3b;
  --teal-700: #155252;
  --teal-600: #1d6a68;
  --teal-500: #2a8378;
  --teal-100: #dcece8;
  --teal-50: #f2f8f6;

  --gold-600: #b08b45;
  --gold-500: #c6a15f;
  --gold-400: #d4b87e;
  --gold-100: #f1e7d2;

  --ink-900: #14201f;
  --ink-700: #3a4a48;
  --ink-500: #64736f;
  --ink-300: #9aa8a4;
  --line: #e3eae7;
  --paper: #ffffff;
  --paper-warm: #faf8f3;

  /* 排版 —— 西文优先，CJK 回退 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", serif;

  /* 尺寸 */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(12, 43, 44, 0.06);
  --shadow-md: 0 14px 40px rgba(12, 43, 44, 0.1);
  --shadow-lg: 0 30px 70px rgba(12, 43, 44, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink-900);
}

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

.text-gold {
  color: var(--gold-500);
}

/* ---------------- 通用小元素 ---------------- */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: #e9d9b2;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow--teal {
  color: var(--teal-600);
}

.eyebrow--gold {
  color: var(--gold-600);
}

.section {
  padding: 96px 0;
}

.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__title {
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: 0.01em;
}

.section__desc {
  margin-top: 16px;
  color: var(--ink-500);
  font-size: 16px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--teal-700);
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 82, 82, 0.24);
}

.btn--primary:hover {
  background: var(--teal-600);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(21, 82, 82, 0.3);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  box-shadow: 0 12px 28px rgba(176, 139, 69, 0.32);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(176, 139, 69, 0.4);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1.5px solid var(--teal-700);
  color: var(--teal-700);
  background: transparent;
}

.btn--outline:hover {
  background: var(--teal-700);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn--lg {
  padding: 16px 34px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

/* ---------------- 顶部条 ---------------- */

.topbar {
  background: var(--teal-900);
  color: #cfe0db;
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-block: 6px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.03em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(212, 184, 126, 0.18);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__link {
  color: #cfe0db;
  font-size: 13px;
  transition: color 0.2s ease;
}

.topbar__link:hover {
  color: var(--gold-400);
}

.topbar__cta {
  color: var(--gold-400);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.topbar__cta:hover {
  color: #f0dfba;
}

/* ---------------- 导航 ---------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-700);
}

.brand__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--teal-800);
}

.brand__text small {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--gold-600);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__item {
  padding: 9px 14px;
  font-size: 15px;
  color: var(--ink-700);
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__item:hover {
  color: var(--teal-600);
  background: var(--teal-50);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 23px;
  height: 2px;
  background: var(--teal-800);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 10px 24px 24px;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: flex;
  animation: slideDown 0.3s var(--ease);
}

.mobile-nav__item {
  text-align: left;
  padding: 14px 4px;
  font-size: 16px;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
}

.mobile-nav__cta {
  margin-top: 18px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 14s var(--ease) alternate infinite;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 33, 34, 0.88) 0%,
    rgba(12, 43, 44, 0.62) 48%,
    rgba(12, 43, 44, 0.28) 100%
  );
}

.hero__content {
  position: relative;
  padding-block: 90px;
  max-width: 720px;
}

.hero__title {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.hero__sub {
  font-size: 17px;
  color: rgba(236, 244, 241, 0.88);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.hero__badges li {
  position: relative;
  font-size: 13.5px;
  color: rgba(236, 244, 241, 0.8);
  padding-left: 18px;
}

.hero__badges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
}

/* ---------------- 数据条 ---------------- */

.stats {
  background: var(--teal-800);
  color: #fff;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 42px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.1;
  margin-bottom: 10px;
  font-family: var(--font-serif);
}

.stat strong small {
  font-size: 24px;
}

.stat span {
  font-size: 13px;
  color: rgba(226, 238, 234, 0.78);
  line-height: 1.6;
}

/* ---------------- 关于 ---------------- */

.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
}

.about__badge {
  position: absolute;
  right: -18px;
  bottom: 30px;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-800));
  color: #fff;
  padding: 18px 26px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about__badge span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-400);
}

.about__badge strong {
  font-size: 32px;
  font-family: var(--font-serif);
  line-height: 1.2;
}

.about__body p {
  color: var(--ink-700);
  margin-top: 16px;
}

.about__lead {
  font-size: 17px;
}

.checklist {
  list-style: none;
  margin: 26px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--ink-700);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.3 4.6-5' fill='none' stroke='%23155252' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* ---------------- 时间线 ---------------- */

.timeline-section {
  background:
    linear-gradient(180deg, var(--paper-warm), #fff);
  position: relative;
}

.timeline {
  list-style: none;
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 132px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    var(--gold-400),
    var(--teal-500) 55%,
    var(--teal-700)
  );
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 40px;
  padding-bottom: 38px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__year {
  text-align: right;
  padding-top: 14px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--teal-700);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 125px;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold-500);
  box-shadow: 0 0 0 5px rgba(198, 161, 95, 0.16);
  z-index: 1;
}

.timeline__item:last-child::before {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 5px rgba(42, 131, 120, 0.16);
}

.timeline__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.timeline__card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--teal-800);
}

.timeline__card p {
  font-size: 14.5px;
  color: var(--ink-500);
}

.timeline__foot {
  text-align: center;
  margin-top: 52px;
}

/* ---------------- 服务卡片 ---------------- */

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

.service-card {
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
    border-color 0.32s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

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

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-600);
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card__icon {
  background: var(--teal-700);
  color: #fff;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--ink-500);
  margin-bottom: 18px;
}

.service-card__more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-600);
}

/* ---------------- 全球网络 ---------------- */

.network {
  background: var(--teal-50);
}

.network__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.network__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.network__body p {
  color: var(--ink-700);
  margin-top: 18px;
}

.partner-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 32px;
}

.partner-list li {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal-800);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------------- 特色区 ---------------- */

.feature__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.feature__lead {
  color: var(--ink-700);
  margin-top: 18px;
  font-size: 17px;
}

.feature__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 30px;
  margin-top: 34px;
}

.feature__points h4 {
  font-size: 16px;
  color: var(--teal-800);
  margin-bottom: 6px;
}

.feature__points p {
  font-size: 14px;
  color: var(--ink-500);
}

.feature__media {
  position: relative;
}

.feature__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.feature__media-sub {
  position: absolute;
  width: 56%;
  right: -22px;
  bottom: -42px;
  border: 6px solid #fff;
}

/* ---------------- 健康洞察 ---------------- */

.insights {
  background: var(--paper-warm);
}

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

.insight-card {
  text-align: left;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

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

.insight-card__img {
  overflow: hidden;
}

.insight-card__img img {
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.insight-card:hover .insight-card__img img {
  transform: scale(1.06);
}

.insight-card__body {
  padding: 24px 26px 28px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.insight-card h3 {
  font-size: 17.5px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.insight-card p {
  font-size: 14px;
  color: var(--ink-500);
  margin-bottom: 16px;
}

.insight-card__more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-600);
}

/* ---------------- CTA Band ---------------- */

.cta-band {
  background:
    linear-gradient(rgba(10, 38, 39, 0.92), rgba(10, 38, 39, 0.92)),
    var(--teal-900);
  color: #fff;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 64px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(230, 240, 237, 0.8);
  max-width: 620px;
  font-size: 15.5px;
}

/* ---------------- 页脚 ---------------- */

.footer {
  background: var(--teal-900);
  color: rgba(214, 228, 223, 0.78);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.footer__brand .brand__mark {
  color: var(--gold-400);
  display: inline-block;
  margin-bottom: 16px;
}

.footer__name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.footer__en {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 13.5px;
  max-width: 320px;
  line-height: 1.8;
}

.footer__col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer__col button {
  display: block;
  text-align: left;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(214, 228, 223, 0.72);
  transition: color 0.2s ease;
}

.footer__col button:hover {
  color: var(--gold-400);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 22px;
  font-size: 13px;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__privacy {
  color: rgba(214, 228, 223, 0.72);
  font-size: 13px;
}

.footer__privacy:hover {
  color: var(--gold-400);
}

/* ---------------- 弹窗 ---------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 27, 0.62);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.25s ease;
}

.modal__dialog {
  position: relative;
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: 34px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  animation: popIn 0.32s var(--ease);
}

.modal__dialog--history {
  width: min(760px, calc(100% - 32px));
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--ink-500);
  z-index: 2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
  background: var(--teal-50);
  color: var(--teal-800);
}

/* 历史弹窗 */
.modal__history-head {
  padding: 40px 40px 8px;
}

.modal__history-head h2 {
  font-size: 25px;
  margin-bottom: 12px;
}

.modal__history-head p {
  color: var(--ink-500);
  font-size: 14.5px;
}

.history-detail {
  padding: 22px 40px 8px;
  display: grid;
  gap: 18px;
}

.history-detail article {
  border-left: 3px solid var(--gold-500);
  background: var(--paper-warm);
  border-radius: 0 10px 10px 0;
  padding: 16px 22px;
}

.history-detail time {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-600);
}

.history-detail h3 {
  font-size: 16px;
  margin: 4px 0 6px;
  color: var(--teal-800);
}

.history-detail p {
  font-size: 14px;
  color: var(--ink-500);
}

.modal__foot {
  padding: 26px 40px 38px;
  text-align: center;
}

/* 表单弹窗 */
.modal__dialog--form {
  width: min(600px, calc(100% - 32px));
}

.form-view {
  padding: 40px 40px 38px;
}

.form-view h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.form-view__tip {
  font-size: 14px;
  color: var(--ink-500);
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 24px;
}

.form-view__tip strong {
  color: var(--teal-700);
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 7px;
}

.field label em {
  color: #c0392b;
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-900);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(42, 131, 120, 0.14);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 20px;
  cursor: pointer;
}

.consent input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--teal-600);
  flex-shrink: 0;
}

.form-error {
  background: #fdecea;
  color: #b03a2e;
  font-size: 13.5px;
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

/* 成功视图 */
.success-view {
  padding: 56px 40px 50px;
  text-align: center;
}

.success-view__icon {
  display: inline-block;
  color: var(--teal-600);
  margin-bottom: 22px;
}

.success-view h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.success-view p {
  color: var(--ink-500);
  font-size: 15px;
  margin-bottom: 30px;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header__right .btn {
    display: none;
  }

  .about__grid,
  .network__grid,
  .feature__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about__media img {
    aspect-ratio: 16 / 11;
  }

  .feature__media-sub {
    position: static;
    width: 100%;
    margin-top: 20px;
    border: none;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 68px 0;
  }

  .topbar__note {
    display: none;
  }

  .topbar__inner {
    justify-content: flex-end;
  }

  .hero {
    min-height: 560px;
  }

  .hero__content {
    padding-block: 60px;
  }

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

  .stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .checklist,
  .field-row,
  .services__grid,
  .insights__grid,
  .feature__points {
    grid-template-columns: 1fr;
  }

  .about__badge {
    right: 12px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 48px;
  }

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

  /* 时间线移动端收窄左轨 */
  .timeline::before {
    left: 14px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 40px;
  }

  .timeline__year {
    text-align: left;
    padding-top: 0;
    font-size: 21px;
  }

  .timeline__item::before {
    left: 7px;
    top: 5px;
  }

  .modal__dialog {
    margin: 16px auto;
    width: calc(100% - 24px);
    max-height: calc(100vh - 32px);
  }

  .form-view,
  .success-view,
  .modal__history-head,
  .history-detail,
  .modal__foot {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
