/* Xu Liting personal site: watercolor layout matched to the supplied reference. */
:root {
  --ink: #173753;
  --ink-soft: #375a78;
  --muted: #6f8498;
  --blue: #315fa2;
  --blue-soft: #d9edf6;
  --pink: #ee8e99;
  --green: #92cdae;
  --paper: #fffefd;
  --line: rgba(59, 103, 146, 0.16);
  --shadow-soft: 0 12px 30px rgba(47, 96, 139, 0.08);
  --shadow-card: 0 8px 20px rgba(47, 96, 139, 0.075);
  --radius: 18px;
  --radius-large: 28px;
  --container: 1040px;
  --heading-font: "STKaiti", "Kaiti SC", "KaiTi", "Songti SC", serif;
  --body-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  min-width: 0;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at 8% 20%, rgba(202, 232, 242, 0.9) 0 10%, transparent 28%),
    linear-gradient(180deg, #e5f4f9 0, #f8fcfd 31%, #fff 48%, #fff 100%);
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 72px));
  margin: 0 auto;
}

section {
  position: relative;
  scroll-margin-top: 82px;
}

.section-frame {
  position: relative;
  overflow: hidden;
}

.decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  transform-origin: center;
  animation: float-soft 8s ease-in-out infinite;
}

@keyframes float-soft {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); }
  50% { transform: translate3d(0, -7px, 0) rotate(calc(var(--r, 0deg) + 1.4deg)); }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 70px;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: height 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  height: 62px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(54, 102, 142, 0.08);
}

.header-container {
  width: min(var(--container), calc(100% - 72px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo {
  width: 165px;
  transform: translateY(1px);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  margin-left: auto;
  margin-right: clamp(18px, 3vw, 42px);
}

.nav-item {
  position: relative;
  padding: 10px 0;
  color: #223f5f;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-item.active,
.nav-item:hover {
  color: var(--blue);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
}

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

.email-shortcut {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(49, 95, 162, 0.1);
  border-radius: 999px;
  box-shadow: 0 5px 16px rgba(48, 94, 138, 0.1);
}

.email-shortcut svg {
  width: 19px;
  height: 19px;
}

.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 13px 10px;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 999px;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--blue);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 19;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mobile-menu-drawer.open {
  visibility: visible;
  opacity: 1;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 74, 112, 0.16);
  backdrop-filter: blur(8px);
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(310px, 84vw);
  height: 100%;
  padding: 94px 30px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: -18px 0 44px rgba(45, 86, 126, 0.13);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(49, 95, 162, 0.09);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.drawer-item.active {
  color: var(--blue);
}

.drawer-content p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.section-hero {
  background:
    radial-gradient(circle at 92% 18%, rgba(245, 188, 194, 0.2), transparent 28%),
    linear-gradient(180deg, #e8f6fa 0%, #f6fbfd 66%, rgba(255, 255, 255, 0) 100%);
}

.hero-frame {
  min-height: 486px;
  padding: 86px 0 12px;
}

.hero-frame::before {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -90px;
  width: 38%;
  height: 230px;
  background: radial-gradient(ellipse, rgba(170, 219, 236, 0.66), transparent 68%);
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: 24px;
}

.hero-copy {
  padding-top: 12px;
}

.hero-title-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-title-row h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(60px, 6.2vw, 78px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
}

.hero-title-heart {
  width: 34px;
  margin-top: 13px;
}

.hero-role {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-description {
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
}

.hero-description p {
  margin: 0;
  color: #47627b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  gap: 8px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4d82ca, #264f94);
  box-shadow: 0 12px 24px rgba(54, 94, 153, 0.22);
}

.btn-secondary {
  color: #3866ad;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(72, 116, 176, 0.2);
  box-shadow: 0 10px 18px rgba(56, 95, 141, 0.08);
}

.hero-location {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #60778d;
  font-size: 15px;
  font-weight: 700;
}

.hero-location::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7ca7d9;
  box-shadow: 0 0 0 4px rgba(124, 167, 217, 0.12);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(690px, 61vw);
  margin-right: -45px;
  margin-bottom: -13px;
}

.hero-main-illustration {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  filter: drop-shadow(0 18px 30px rgba(89, 137, 169, 0.1));
}

/* 专属天蓝云烟超舒缓慢浮动微动画 - 梦幻写意 */
@keyframes floatCloud {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

.hero-cloud-left {
  left: 0px;
  bottom: -60px;
  top: auto;
  width: 420px;
  animation: none;     /* 显式禁用动画保持静止，100%还原DevTools调试效果 */
}

.hero-heart-left {
  --r: 12deg;
  left: 55px;
  top: 30px;
  width: 31px;
  opacity: 0.78;
}

.hero-heart-right {
  --r: -12deg;
  right: 14.5%;
  top: 98px;
  width: 31px;
  opacity: 0.8;
}

.hero-bubble-right {
  --r: 12deg;
  right: 4.5%;
  top: 120px;
  width: 60px;
  opacity: 0.78;
}

.hero-bubbles {
  --r: -4deg;
  left: 47%;
  top: 280px;
  width: 74px;
  opacity: 0.62;
}

.hero-blue-dots {
  left: 4%;
  top: 35%;
  width: 44px;
  opacity: 0.76;
}

.hero-fish-heart {
  --r: -12deg;
  left: -3%;
  bottom: 7%;
  width: 64px;
  opacity: 0.72;
}

.section-title-row {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
}

.section-title-row h2,
.contact-title-row h2 {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(30px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.05em;
}

.section-title-row h2::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #a9d1c0;
  opacity: 0.75;
}

.section-title-row h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 5px;
  border-radius: 999px;
  background: rgba(116, 196, 153, 0.28);
  transform: skewX(-14deg);
}

.section-title-row img {
  width: 55px;
  margin-top: 5px;
}

.section-about,
.section-fields,
.section-journey {
  background: #fff;
}

.about-frame {
  margin-top: -2px;
  padding: 70px 0 70px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  overflow: visible !important; /* 强制可视，保障关于我两侧外推的黄色/蓝色草花完美不被裁切 */
}

.about-cards-wrap {
  position: relative;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 0.94fr)) minmax(0, 1.18fr); /* 给第四列“个性签名”释放充足的横向伸展空间 */
  gap: 20px;
}

.about-card {
  min-height: 96px;
  padding: 17px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.about-pink { background: linear-gradient(135deg, #fff8f8, #ffeded); }
.about-blue { background: linear-gradient(135deg, #f7fbfd, #e7f3f9); }
.about-green { background: linear-gradient(135deg, #f5fbf7, #e6f6eb); }
.about-purple { background: linear-gradient(135deg, #faf8ff, #eee9f8); }

.about-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.about-card span,
.contact-qr-card span {
  display: block;
  margin-bottom: 3px;
  color: #496a89;
  font-size: 13px;
  font-weight: 700;
}

.about-card strong {
  display: block;
  color: #263d54;
  font-size: 15px;
  line-height: 1.38;
  white-space: nowrap; /* 绝对禁止汉字发生非主动的意外截断折行 */
}

/* 专属草花垂直居中浮动微动画 - 锁定 translateY(-50%) 定位码，彻底封堵 transform 被覆盖的层叠 Bug */
@keyframes floatSlowYellow {
  0%, 100% { transform: translateY(-50%) rotate(-4deg); }
  50% { transform: translateY(calc(-50% - 8px)) rotate(-2deg); }
}

@keyframes floatMediumBlue {
  0%, 100% { transform: translateY(-50%) rotate(4deg); }
  50% { transform: translateY(calc(-50% - 6px)) rotate(2deg); }
}

.about-flower-left {
  left: -70px;         /* 完美外推，腾出舒张有度的空气感间距 */
  top: 50%;
  width: 80px;         /* 恢复 80px 原装大饱满尺寸 */
  height: auto;
  z-index: 10;
  pointer-events: none;
  animation: floatSlowYellow 8s ease-in-out infinite; /* 绑定专属无冲突动画 */
}

.about-flower-right {
  right: -70px;        /* 完美外推，腾出舒张有度的空气感间距 */
  top: 50%;
  width: 80px;         /* 恢复 80px 原装大饱满尺寸 */
  height: auto;
  z-index: 10;
  pointer-events: none;
  animation: floatMediumBlue 6s ease-in-out infinite; /* 绑定专属无冲突动画 */
}

.about-leaf-left {
  left: 16px;
  bottom: 0;
  width: 78px;
  opacity: 0.58;
}

.about-dots-left {
  left: 95px;
  top: 32px;
  width: 40px;
  opacity: 0.45;
}

.fields-frame {
  padding: 70px 0 75px;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.field-card {
  min-height: 168px;
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.field-card img {
  width: 66px;
  height: 57px;
  margin-bottom: 14px;
  object-fit: contain;
}

.field-card h3 {
  margin: 0 0 8px;
  color: #24415b;
  font-size: 17px;
  line-height: 1.25;
}

.field-card p {
  margin: 0;
  color: #516b82;
  font-size: 13px;
  line-height: 1.56;
  text-align: center;
}

.fields-heart {
  --r: -4deg;
  right: 7%;
  top: 48%;
  width: 120px;
  opacity: 0.62;
}

.fields-dots {
  left: 10%;
  bottom: 58px;
  width: 72px;
  opacity: 0.42;
}

.journey-frame {
  padding: 70px 0 80px;
}

.journey-track {
  position: relative;
  padding-top: 32px;
}

.journey-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  height: 2px;
  background:
    linear-gradient(90deg, rgba(111, 177, 213, 0.58), rgba(78, 123, 189, 0.58)) left/100% 2px no-repeat;
}

.journey-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  border-left: 10px solid rgba(78, 123, 189, 0.65);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 22px;
}

.journey-card {
  position: relative;
  min-height: 104px;
  padding: 16px 66px 15px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(47, 96, 139, 0.06);
}

.journey-dot {
  position: absolute;
  left: 50%;
  top: -31px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #9ac7db;
  border: 4px solid #eaf7fb;
  box-shadow: 0 0 0 3px rgba(49, 95, 162, 0.1);
  transform: translateX(-50%);
}

.journey-card h3 {
  margin: 0 0 7px;
  padding-bottom: 6px;
  color: #24415b;
  font-size: 16px;
  line-height: 1.1;
  border-bottom: 1px solid rgba(49, 95, 162, 0.09);
}

.journey-card p {
  margin: 0;
  color: #516b82;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
}

.journey-card img {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 46px;
  max-height: 52px;
  object-fit: contain;
}

.journey-plane {
  right: 170px;
  top: -38px;
  width: 132px;
  opacity: 0.76;
}

.section-contact {
  padding: 70px 0 70px;
  background: linear-gradient(180deg, #fff 0, #fff 64%, #edf8fb 100%);
}

.contact-card {
  position: relative;
  min-height: 162px;
  padding: 24px 242px 24px 154px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #e7f5f8, #f9fcfd 52%, #fff 100%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(78, 126, 158, 0.11);
}

.contact-copy {
  position: relative;
  z-index: 3;
  flex: 1 1 410px;
}

.contact-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-title-row img {
  width: 36px;
}

.contact-copy p {
  max-width: 520px;
  margin: 0 0 18px;
  color: #4f6a81;
  font-size: 14px;
  line-height: 1.6;
}

.btn-contact {
  min-height: 46px;
  padding: 0 27px;
  color: #fff;
  background: linear-gradient(135deg, #f29aa4, #e98591);
  box-shadow: 0 12px 24px rgba(232, 133, 145, 0.25);
}

.contact-qr-card {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  width: 296px;
  min-height: 116px;
  padding: 15px 20px 15px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(49, 95, 162, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.qr-image {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 6px;
}

.contact-qr-card strong {
  display: block;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.25;
}

.contact-qr-card em {
  display: block;
  margin-top: 9px;
  color: #6f8498;
  font-size: 13px;
  font-style: normal;
}

.contact-vase {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: -76px;
  width: 164px;
  pointer-events: none;
}

.contact-branch-left {
  left: 18px;
  bottom: 8px;
  width: 145px;
  opacity: 0.8;
}

.contact-branch-right {
  right: 46px;
  bottom: 0;
  width: 210px;
  opacity: 0.38;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #edf8fb 0, #e8f5fb 100%);
}

.footer-watercolor {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;   /* 限制在大屏下的最大高度，防止过度拉大 */
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.95;
  margin: 0 auto;
}

.footer-content {
  position: relative;
  z-index: 2;
  padding-top: 48px;  /* 顶空留出舒适的呼吸感，展现水彩天空渐变 */
  padding-bottom: 12px;
  text-align: center;
}

.footer-content p {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer-content span {
  color: var(--pink);
}

.footer-content small {
  color: #6f8498;
  font-size: 13px;
}

.back-to-top {
  position: fixed;
  right: 35px;
  bottom: 34px;
  z-index: 18;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #486da7;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(49, 82, 132, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .email-shortcut:hover,
  .field-card:hover,
  .journey-card:hover,
  .contact-qr-card:hover {
    transform: translateY(-3px);
  }

  .about-card:hover,
  .field-card:hover,
  .journey-card:hover {
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 1360px) {
  .about-flower-left {
    left: -35px;
    width: 65px;
  }
  .about-flower-right {
    right: -35px;
    width: 65px;
  }
}

@media (max-width: 1120px) {
  .container,
  .header-container {
    width: min(100% - 48px, var(--container));
  }

  .hero-container {
    grid-template-columns: minmax(310px, 0.42fr) minmax(0, 0.58fr);
  }

  .hero-visual {
    margin-right: -34px;
  }

  .about-flower-left,
  .about-flower-right {
    display: none;
  }

  .contact-card {
    padding-left: 90px;
    padding-right: 210px;
  }
}

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

  .hamburger-btn {
    display: block;
  }

  .hero-frame {
    padding-top: 94px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
    margin: 0 auto;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-title-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-role {
    text-align: center;
    width: 100%;
  }

  .hero-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-description p {
    text-align: center;
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-location {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    justify-self: center;
    width: min(680px, 92vw);
    margin: -6px auto -10px;
  }

  .about-cards-grid,
  .fields-grid,
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-line {
    display: none;
  }

  .journey-track {
    padding-top: 0;
  }

  .journey-grid {
    gap: 18px;
    padding-top: 8px;
  }

  .journey-card {
    padding-top: 20px;
  }

  .journey-dot {
    left: 22px;
    top: -7px;
    transform: none;
  }

  .journey-plane {
    right: 20px;
    top: -64px;
  }

  .contact-card {
    padding: 34px 34px 160px;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-copy {
    flex-basis: auto;
  }

  .contact-vase {
    right: 28px;
    bottom: -72px;
    width: 180px;
  }

  .contact-qr-card {
    width: min(100%, 330px);
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 58px;
  }

  .site-header.scrolled {
    height: 56px;
  }

  .container,
  .header-container {
    width: calc(100% - 28px);
  }

  .site-logo {
    width: 128px;
    transform: translateY(2.2px); /* 像素级完美视觉对齐，解决移动端顶部未垂直居中的问题 */
  }

  .email-shortcut {
    width: 38px;
    height: 38px;
  }

  .hero-frame {
    min-height: auto;
    padding: 78px 0 28px;
  }

  .hero-title-row h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .hero-title-heart {
    width: 26px;
    margin-top: 8px;
  }

  .hero-role {
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-description {
    gap: 4px;
    margin-bottom: 22px;
  }

  .hero-description p {
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero-location {
    font-size: 13px;
  }

  .hero-visual {
    width: min(560px, 128vw);
    margin-top: 6px;
    transform: translateX(-2%);
  }



  .hero-cloud-left,
  .hero-heart-left,
  .hero-heart-right,
  .hero-bubble-right,
  .hero-bubbles,
  .hero-blue-dots {
    display: none;
  }

  .hero-fish-heart {
    left: 4%;
    bottom: 7%;
    width: 52px;
  }

  .about-frame,
  .fields-frame,
  .journey-frame {
    padding-top: 34px;
    padding-bottom: 20px;
  }

  .section-title-row {
    margin-bottom: 27px;
    margin-left: 12px;
  }

  .section-title-row h2,
  .contact-title-row h2 {
    font-size: 28px;
  }

  .section-title-row h2::before {
    left: -16px;
    top: 9px;
  }

  .section-title-row img {
    width: 42px;
  }

  .about-cards-grid,
  .fields-grid,
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .about-card {
    min-height: 88px;
    padding: 16px 18px;
    gap: 15px;
  }

  .about-icon {
    width: 56px;
    height: 56px;
  }

  .about-card strong {
    font-size: 14px;
  }

  .field-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .field-card img {
    width: 68px;
    height: 62px;
  }

  .field-card p {
    font-size: 13px;
    text-align: left;
  }

  .fields-heart,
  .fields-dots,
  .about-leaf-left,
  .about-dots-left,
  .journey-plane {
    display: none;
  }

  .journey-track {
    margin-left: 4px;
    padding-left: 18px;
    border-left: 2px dashed rgba(49, 95, 162, 0.18);
  }

  .journey-grid {
    padding-top: 0;
  }

  .journey-card {
    min-height: 0;
    padding: 17px 68px 17px 18px;
  }

  .journey-dot {
    left: -27px;
    top: 22px;
    width: 13px;
    height: 13px;
    border-width: 3px;
  }

  .section-contact {
    padding-top: 26px;
  }

  .contact-card {
    min-height: 0;
    padding: 30px 22px 132px;
    align-items: center;
    text-align: center;
    border-radius: 22px;
  }

  .contact-title-row {
    justify-content: center;
  }

  .contact-copy p {
    font-size: 14px;
  }

  .contact-qr-card {
    width: 100%;
    max-width: 300px;
    padding: 14px;
    text-align: left;
  }

  .qr-image {
    width: 82px;
    height: 82px;
  }

  .contact-vase {
    right: 50%;
    bottom: -96px;
    width: 168px;
    transform: translateX(50%);
    opacity: 0.78;
  }

  .contact-branch-left,
  .contact-branch-right {
    display: none;
  }

  .footer-content {
    padding-top: 32px;
  }

  .footer-content p {
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .footer-content small {
    display: block;
    max-width: 260px;
    margin: 0 auto;
    font-size: 11px;
    line-height: 1.6;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 370px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: min(100%, 220px);
  }

  .contact-qr-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
