:root {
  --bg: #fff8fb;
  --bg-soft: #fff1f6;
  --surface: #ffffff;
  --surface-tint: #fff7fa;
  --text: #302932;
  --muted: #726674;
  --line: #f3dbe5;
  --primary: #d95d84;
  --primary-dark: #b43f68;
  --coral: #ee8f84;
  --violet: #8d78d8;
  --shadow: 0 22px 60px rgba(166, 84, 119, 0.16);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 10% 0%, rgba(238, 143, 132, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 46%, #fffafd 100%);
}

body.nav-open {
  overflow: hidden;
}

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

svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container,
.nav-shell {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(243, 219, 229, 0.78);
  background: rgba(255, 248, 251, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #261f28;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  box-shadow: 0 12px 26px rgba(217, 93, 132, 0.26);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--primary-dark);
  background: rgba(217, 93, 132, 0.1);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.section {
  padding: 86px 0;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 76px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10em;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.hero-subtitle {
  margin-bottom: 14px;
  color: #4b3f4f;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
}

.hero-description,
.section-content p,
.contact-intro {
  max-width: 670px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  box-shadow: 0 16px 30px rgba(217, 93, 132, 0.24);
}

.button.secondary {
  color: var(--primary-dark);
  border-color: rgba(217, 93, 132, 0.24);
  background: rgba(255, 255, 255, 0.76);
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(243, 219, 229, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 248, 0.84)),
    radial-gradient(circle at 78% 16%, rgba(141, 120, 216, 0.2), transparent 15rem);
  box-shadow: var(--shadow);
}

.main-card {
  min-height: 390px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.orb-one {
  top: -76px;
  right: -58px;
  width: 210px;
  height: 210px;
  background: rgba(217, 93, 132, 0.2);
}

.orb-two {
  left: -46px;
  bottom: 58px;
  width: 160px;
  height: 160px;
  background: rgba(238, 143, 132, 0.18);
}

.visual-icon {
  position: relative;
  width: 86px;
  height: 86px;
  margin-bottom: 34px;
  color: #ffffff;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  box-shadow: 0 20px 42px rgba(141, 120, 216, 0.28);
}

.visual-title {
  position: relative;
  max-width: 360px;
  margin-bottom: 26px;
  color: #3a303c;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.32;
}

.tag-cloud {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 8px 12px;
  border: 1px solid rgba(217, 93, 132, 0.16);
  border-radius: 999px;
  color: var(--primary-dark);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.mini-card {
  position: absolute;
  display: grid;
  gap: 4px;
  width: 178px;
  padding: 18px;
  border: 1px solid rgba(243, 219, 229, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(166, 84, 119, 0.15);
}

.mini-card span {
  color: var(--muted);
  font-size: 13px;
}

.mini-card strong {
  color: #362d38;
}

.stats-card {
  top: 34px;
  left: -28px;
}

.note-card {
  right: 18px;
  bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.about-section {
  background: rgba(255, 255, 255, 0.62);
}

.section-content {
  padding: 34px;
  border-left: 3px solid rgba(217, 93, 132, 0.42);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.72);
}

.section-content p {
  margin-bottom: 0;
}

.centered {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

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

.service-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(243, 219, 229, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(166, 84, 119, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(166, 84, 119, 0.15);
}

.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  padding: 10px;
  border-radius: 8px;
  color: var(--primary-dark);
  background: var(--bg-soft);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(243, 219, 229, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 241, 246, 0.82)),
    radial-gradient(circle at 100% 0%, rgba(238, 143, 132, 0.18), transparent 18rem);
  box-shadow: var(--shadow);
}

.contact-intro {
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(243, 219, 229, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.contact-list dt {
  color: var(--muted);
  font-size: 14px;
}

.contact-list dd {
  margin: 0;
  color: #302932;
  font-weight: 700;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
}

.footer-content p {
  margin: 0;
}

.footer-link {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--primary-dark);
  outline: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-section,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .main-card {
    min-height: 340px;
  }

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

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .nav-shell {
    width: min(100% - 28px, 1200px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(166, 84, 119, 0.18);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 8px;
    padding: 12px 14px;
  }

  .brand {
    max-width: calc(100vw - 92px);
    font-size: 15px;
  }

  .section,
  .hero {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .button {
    flex: 1 1 150px;
  }

  .hero-visual {
    min-height: auto;
  }

  .main-card {
    min-height: 320px;
    padding: 30px;
  }

  .visual-title {
    font-size: 24px;
  }

  .mini-card {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .section-content,
  .contact-card {
    padding: 26px;
  }

  .contact-list div {
    display: grid;
    gap: 4px;
  }

  .footer-content {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
