/* ============================================================
   动生活（深圳）科技有限公司 · 企业官网
   风格：简约大气 / 旅游聚合服务
   配色：深海蓝 + 暖金点缀
   ============================================================ */

:root {
  --primary: #14557a;
  --primary-dark: #0e3d59;
  --primary-light: #1d6f9c;
  --accent: #e8a33d;
  --accent-dark: #d18b22;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-deep: #0c2a3e;
  --text: #1f2d3d;
  --text-muted: #5a6b7b;
  --border: #e6edf2;
  --shadow-sm: 0 4px 16px rgba(20, 85, 122, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 85, 122, 0.10);
  --radius: 14px;
  --maxw: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

.brand .logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary-dark);
  cursor: pointer;
}

/* ---------------- 通用区块 ---------------- */
.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg-soft);
}

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

.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 34px;
  color: var(--primary-dark);
  letter-spacing: 1px;
  line-height: 1.3;
}

.section-head p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative;
  background: radial-gradient(
      1200px 600px at 80% -10%,
      rgba(29, 111, 156, 0.18),
      transparent 60%
    ),
    linear-gradient(160deg, #0e3d59 0%, #14557a 55%, #1d6f9c 100%);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 110px;
  max-width: 760px;
}

.hero .badge {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.hero h1 {
  font-size: 46px;
  line-height: 1.25;
  letter-spacing: 1px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--accent);
}

.hero .lead {
  margin-top: 24px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 163, 61, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 48px;
  padding-bottom: 70px;
  flex-wrap: wrap;
}

.hero-stats .stat .num {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
}

.hero-stats .stat .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------------- 卡片栅格 ---------------- */
.grid {
  display: grid;
  gap: 26px;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

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

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------------- 生态角色 ---------------- */
.roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.role {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 18px;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.role .emoji {
  font-size: 40px;
  margin-bottom: 14px;
}

.role h4 {
  color: var(--primary-dark);
  font-size: 17px;
  margin-bottom: 6px;
}

.role p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------------- 链路流程 ---------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 22px;
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  z-index: 3;
}

.step .num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.step h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------------- 关于我们 ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text h2 {
  font-size: 34px;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-visual {
  background: linear-gradient(160deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  padding: 48px 40px;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.about-visual .big {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
}

.about-visual ul {
  list-style: none;
  margin-top: 24px;
}

.about-visual li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
}

.about-visual li .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

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

.value {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
}

.value .emoji {
  font-size: 36px;
}

.value h4 {
  margin: 12px 0 6px;
  color: var(--primary-dark);
}

.value p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------------- 业务介绍 ---------------- */
.biz-hero {
  background: linear-gradient(160deg, #0e3d59, #1d6f9c);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.biz-hero .eyebrow {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
}

.biz-hero h1 {
  font-size: 40px;
  margin-top: 14px;
}

.biz-hero p {
  margin: 16px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
}

.biz-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.biz-block:nth-child(even) .biz-media {
  order: 2;
}

.biz-block h3 {
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.biz-block p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 18px;
}

.biz-block ul {
  list-style: none;
}

.biz-block li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
}

.biz-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.biz-media {
  background: var(--bg-soft);
  border-radius: 18px;
  height: 280px;
  display: grid;
  place-items: center;
  font-size: 72px;
  border: 1px solid var(--border);
}

/* ---------------- 联系我们 ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
}

.contact-info .item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info .item .ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.contact-info .item h4 {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-info .item p {
  font-size: 17px;
  color: var(--primary-dark);
  font-weight: 600;
}

.contact-info .item a {
  color: var(--primary);
}

.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.form h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 22px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(29, 111, 156, 0.12);
}

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

.form .btn-primary {
  width: 100%;
  justify-content: center;
  border: none;
}

.form .note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

.map-note {
  margin-top: 56px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border);
}

.map-note h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .brand {
  color: #fff;
}

.footer-top .brand small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-about {
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h5 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .grid-4,
  .roles,
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .about-grid,
  .contact-grid,
  .biz-block {
    grid-template-columns: 1fr;
  }
  .biz-block:nth-child(even) .biz-media {
    order: 0;
  }
  .values {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 18px 24px;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 10px 0;
  }
  .nav-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-inner {
    padding: 80px 0 70px;
  }
  .section {
    padding: 64px 0;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .grid-4,
  .grid-3,
  .grid-2,
  .roles,
  .flow {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 28px;
  }
}
