:root {
  --brand: #e8547c;
  --brand-dark: #c23e63;
  --brand-light: #fdeef2;
  --brand-glow: rgba(232, 84, 124, 0.32);
  --text: #22252b;
  --text-2: #5a6070;
  --text-3: #8a90a0;
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --bg-3: #f0f2f5;
  --border: #e8eaee;
  --border-strong: #d8dbe2;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.1);
  --shadow-brand: 0 8px 24px rgba(232, 84, 124, 0.28);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-blur: saturate(180%) blur(18px);
  --max: 1180px;
  --header-h: 66px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.dark {
  --brand: #f06a90;
  --brand-dark: #e8547c;
  --brand-light: #2a1c22;
  --brand-glow: rgba(240, 106, 144, 0.28);
  --text: #e6e8ec;
  --text-2: #a3a9b8;
  --text-3: #767d8e;
  --bg: #15171c;
  --bg-2: #1c1f26;
  --bg-3: #23262f;
  --border: #2a2e38;
  --border-strong: #363b47;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
  --shadow-brand: 0 8px 24px rgba(240, 106, 144, 0.22);
  --glass-bg: rgba(28, 31, 38, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

body.dark {
  color-scheme: dark;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--brand-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

img {
  height: auto;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  color: inherit;
}

::selection {
  background: var(--brand);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  top: 0;
  color: #fff;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

header.site-header.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 0.5px;
  line-height: 1.2;
  flex: none;
}

.logo:hover {
  color: var(--text);
}

.logo .logo-mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  transition: transform 0.4s var(--ease);
}

.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.06);
}

.logo small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: 1px;
  line-height: 1.4;
}

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

nav.main-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}

nav.main-nav a:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease), background-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.icon-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.icon-btn:active {
  transform: translateY(0) scale(0.96);
}

.icon-btn svg {
  transition: transform 0.4s var(--ease);
}

.icon-btn:hover svg {
  transform: scale(1.08);
}

.menu-toggle {
  display: none;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 38px;
  transition: width 0.32s var(--ease), opacity 0.28s var(--ease), padding 0.32s var(--ease), margin 0.32s var(--ease), border-color 0.22s var(--ease);
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
}

.search-box input::placeholder {
  color: var(--text-3);
}

.search-box input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.search-box.active input {
  width: 200px;
  opacity: 1;
  padding: 0 12px;
  margin-right: 4px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 10px 20px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

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

.mobile-nav a {
  padding: 12px 8px;
  border-bottom: 1px dashed var(--border);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--brand);
  padding-left: 14px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-2);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--text-3);
}

.breadcrumb a {
  color: var(--text-2);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb [aria-current] {
  color: var(--brand);
  font-weight: 600;
}

.anchor-nav {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.anchor-nav::-webkit-scrollbar {
  display: none;
}

.anchor-nav ul {
  display: flex;
  gap: 6px;
}

.anchor-nav a {
  font-size: 13.5px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--text-2);
  display: inline-block;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.anchor-nav a:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5f8 0%, #fdeef2 42%, #fff8fb 72%, #ffffff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle, rgba(232, 84, 124, 0.28), transparent 70%);
}

.hero::after {
  width: 360px;
  height: 360px;
  bottom: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(247, 138, 168, 0.24), transparent 70%);
}

body.dark .hero {
  background: linear-gradient(135deg, #241a1f 0%, #1c1f26 55%, #15171c 100%);
}

body.dark .hero::before {
  background: radial-gradient(circle, rgba(240, 106, 144, 0.22), transparent 70%);
}

body.dark .hero::after {
  background: radial-gradient(circle, rgba(247, 138, 168, 0.14), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 64px 0 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.18) rotate(12deg);
    opacity: 0.85;
  }
}

.hero h1 {
  font-size: 40px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(120deg, var(--brand) 0%, #f78aa8 50%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 26px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  background: linear-gradient(135deg, #ef6d92 0%, var(--brand) 55%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(232, 84, 124, 0.42);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats .stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.hero-stats .stat span {
  font-size: 13px;
  color: var(--text-2);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(232, 84, 124, 0.18), rgba(247, 138, 168, 0.06));
  filter: blur(18px);
  z-index: 0;
}

.slider {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--glass-border);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide svg {
  width: 100%;
  height: 100%;
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.slider-dots button:hover {
  background: #fff;
}

.slider-dots button.active {
  background: var(--brand);
  width: 22px;
  border-radius: 999px;
}

section {
  padding: 64px 0;
  position: relative;
}

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

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

.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  line-height: 1.35;
}

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

.section-head .kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease), background-color 0.35s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(232, 84, 124, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 84, 124, 0.35);
}

.card:hover::before {
  opacity: 1;
}

.card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.card:hover .ico {
  transform: scale(1.08) rotate(-4deg);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.card p {
  color: var(--text-2);
  font-size: 14.5px;
  text-align: left;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-text h3 {
  font-size: 22px;
  margin: 22px 0 10px;
  font-weight: 700;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text p {
  color: var(--text-2);
  margin-bottom: 12px;
  text-align: left;
}

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  transition: transform 0.4s var(--ease);
}

.about-visual:hover {
  transform: scale(1.015);
}

.about-visual svg {
  width: 100%;
  height: auto;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.value-item {
  background: var(--brand-light);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.value-item strong {
  display: block;
  color: var(--brand);
  margin-bottom: 6px;
  font-size: 15px;
}

.value-item span {
  font-size: 13.5px;
  color: var(--text-2);
}

.timeline {
  position: relative;
  margin-top: 20px;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--border));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 22px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--brand-light);
  transition: transform 0.25s var(--ease);
}

.timeline-item:hover::before {
  transform: scale(1.2);
}

.timeline-item strong {
  color: var(--brand);
  font-size: 15px;
}

.timeline-item p {
  color: var(--text-2);
  font-size: 14px;
  margin-top: 4px;
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card .tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #ef6d92, var(--brand-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-brand);
}

.list-check {
  margin-top: 14px;
}

.list-check li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 14.5px;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-light);
  border: 2px solid var(--brand);
  transition: background-color 0.2s var(--ease);
}

.list-check li:hover {
  color: var(--text);
  padding-left: 28px;
}

.list-check li:hover::before {
  background: var(--brand);
}

.scene-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 84, 124, 0.35);
}

.scene-card .num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef6d92, var(--brand-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--shadow-brand);
  transition: transform 0.3s var(--ease);
}

.scene-card:hover .num {
  transform: rotate(-6deg) scale(1.06);
}

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

.scene-card p {
  color: var(--text-2);
  font-size: 14px;
  text-align: left;
}

.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(232, 84, 124, 0.35);
}

.case-card .case-cover {
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  overflow: hidden;
}

.case-card .case-cover svg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.case-card:hover .case-cover svg {
  transform: scale(1.06);
}

.case-card .case-body {
  padding: 22px;
}

.case-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 700;
}

.case-card p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 12px;
  text-align: left;
}

.case-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-3);
  flex-wrap: wrap;
}

.case-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.case-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.7;
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 22px;
  font-size: 64px;
  line-height: 1;
  color: var(--brand);
  opacity: 0.12;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 84, 124, 0.35);
}

.testimonial .quote {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 2px var(--brand-light);
}

.testimonial .avatar svg {
  width: 100%;
  height: 100%;
}

.testimonial .who strong {
  display: block;
  font-size: 14.5px;
}

.testimonial .who span {
  font-size: 12.5px;
  color: var(--text-2);
}

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

.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(232, 84, 124, 0.35);
}

.article-card .meta {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.article-card .cat {
  background: var(--brand-light);
  color: var(--brand);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.article-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 700;
  transition: color 0.2s var(--ease);
}

.article-card:hover h3 {
  color: var(--brand);
}

.article-card p {
  color: var(--text-2);
  font-size: 14px;
  flex: 1;
  margin-bottom: 14px;
  text-align: left;
}

.article-card .read {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ease);
}

.article-card:hover .read {
  gap: 8px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item:hover {
  border-color: rgba(232, 84, 124, 0.35);
}

.faq-item[open] {
  border-color: rgba(232, 84, 124, 0.4);
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
}

.faq-item summary .plus::before {
  left: 0;
  top: 10px;
  width: 22px;
  height: 2px;
}

.faq-item summary .plus::after {
  left: 10px;
  top: 0;
  width: 2px;
  height: 22px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-item[open] summary .plus {
  transform: rotate(180deg);
}

.faq-item[open] summary .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--text-2);
  font-size: 14.5px;
  text-align: left;
  animation: faqFade 0.35s var(--ease);
}

@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.howto-steps {
  counter-reset: step;
  max-width: 900px;
  margin: 0 auto;
}

.howto-step {
  position: relative;
  padding: 0 0 26px 62px;
  counter-increment: step;
}

.howto-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef6d92, var(--brand-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  box-shadow: var(--shadow-brand);
  transition: transform 0.3s var(--ease);
  z-index: 1;
}

.howto-step:hover::before {
  transform: scale(1.1);
}

.howto-step::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 48px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.howto-step:last-child::after {
  display: none;
}

.howto-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 700;
}

.howto-step p {
  color: var(--text-2);
  font-size: 14.5px;
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 18px;
  font-weight: 700;
}

.contact-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-row .cico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
}

.contact-row:hover .cico {
  transform: scale(1.08);
}

.contact-row strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-row span {
  font-size: 14px;
  color: var(--text-2);
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 20px;
  margin-bottom: 18px;
  font-weight: 700;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.35s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

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

.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.sitemap-cols h3 {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
}

.sitemap-cols li {
  margin-bottom: 8px;
}

.sitemap-cols a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
  display: inline-block;
}

.sitemap-cols a:hover {
  color: var(--brand);
  padding-left: 4px;
}

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

.legal-grid .card h3 {
  font-size: 16px;
}

.legal-grid .card p {
  font-size: 13.5px;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.friend-links a {
  font-size: 13.5px;
  color: var(--text-2);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.friend-links a:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

footer.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 52px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--text-2);
  font-size: 14px;
  margin-top: 14px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--brand);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-2);
}

.footer-bottom .links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom .links a {
  color: var(--text-2);
}

.footer-bottom .links a:hover {
  color: var(--brand);
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef6d92, var(--brand-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(232, 84, 124, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  z-index: 900;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(232, 84, 124, 0.5);
}

.back-top:active {
  transform: translateY(0) scale(0.94);
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 34px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 36px;
    padding: 48px 0 44px;
  }

  .hero-text {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .grid-3,
  .grid-4,
  .article-grid,
  .legal-grid,
  .sitemap-cols {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero h1 {
    font-size: 32px;
  }

  .about-grid {
    gap: 32px;
  }

  .about-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }

  body {
    font-size: 15.5px;
  }

  .container {
    padding: 0 16px;
  }

  nav.main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    gap: 12px;
  }

  .logo {
    font-size: 18px;
  }

  .logo .logo-mark {
    width: 30px;
    height: 30px;
  }

  .logo small {
    font-size: 10px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .article-grid,
  .legal-grid,
  .sitemap-cols,
  .footer-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 27px;
    letter-spacing: -0.2px;
  }

  .hero p.lead {
    font-size: 15.5px;
  }

  .hero-cta {
    gap: 10px;
  }

  .btn {
    padding: 11px 20px;
    font-size: 14.5px;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
  }

  .section-head h2 {
    font-size: 23px;
  }

  .section-head p {
    font-size: 15px;
  }

  section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero-stats {
    gap: 22px;
  }

  .hero-stats .stat strong {
    font-size: 22px;
  }

  .search-box.active input {
    width: 140px;
  }

  .card {
    padding: 22px;
  }

  .contact-info,
  .contact-form {
    padding: 22px;
  }

  .howto-step {
    padding-left: 54px;
  }

  .howto-step::before {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .howto-step::after {
    left: 18px;
    top: 44px;
  }

  .scene-card {
    padding: 18px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 24px;
  }

  .logo small {
    display: none;
  }

  .search-box.active input {
    width: 110px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  header.site-header,
  .anchor-nav,
  .breadcrumb,
  .back-top,
  .hero-visual,
  .slider-dots,
  .contact-form,
  .friend-links {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  section {
    padding: 20px 0;
  }

  .card,
  .faq-item,
  .article-card {
    break-inside: avoid;
    box-shadow: none;
    border-color: #ccc;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}