.page-home {
  --content-max: 1200px;
  --paper: #F5F0E6;
  --ink: #2B2B2B;
  --slate: #4A5D6B;
  --orange: #FF6B35;
  --warm-orange: #FF9E00;
  --blue: #1E90FF;
  --light-gray: #E0E0E0;
  --white: #FFFFFF;
  --deep-gray: #333333;
  --font-heading: "KaiTi", "STKaiti", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(43, 43, 43, 0.08);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 20px 48px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-home .home-hero__panel--ink {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 32px 24px;
  overflow: hidden;
}

.page-home .home-hero__panel--ink::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.22;
  pointer-events: none;
}

.page-home .home-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.page-home .home-hero__panel--ink h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.22;
  margin: 0 0 16px;
  color: var(--white);
}

.page-home .home-hero__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 240, 230, 0.92);
  max-width: 34em;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .home-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.page-home .home-hero__tags li {
  font-size: 0.8125rem;
  line-height: 1;
  padding: 8px 14px;
  border: 1px solid rgba(245, 240, 230, 0.35);
  border-radius: 999px;
  color: var(--paper);
}

.page-home .home-hero__panel--paper {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.page-home .home-hero__map {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-hero__stat {
  border-top: 2px solid var(--light-gray);
  padding-top: 12px;
}

.page-home .home-hero__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
}

.page-home .home-hero__meta {
  font-size: 0.8125rem;
  color: var(--slate);
}

.page-home .home-quick {
  padding: 56px 20px;
  background: var(--paper);
}

.page-home .home-quick__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-home .home-quick__head h2,
.page-home .home-schedule__head h2,
.page-home .home-stats__head h2,
.page-home .home-why__head h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--ink);
  position: relative;
}

.page-home .home-quick__head h2::after,
.page-home .home-schedule__head h2::after,
.page-home .home-stats__head h2::after,
.page-home .home-why__head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--orange);
  margin-top: 10px;
  border-radius: 2px;
}

.page-home .home-quick__head p,
.page-home .home-schedule__head p,
.page-home .home-stats__head p,
.page-home .home-why__head p {
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 38em;
}

.page-home .home-quick__grid {
  display: grid;
  gap: 24px;
}

.page-home .home-quick__card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.page-home .home-quick__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--slate);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.page-home .home-quick__card--accent .home-quick__tag {
  background: var(--orange);
}

.page-home .home-quick__card h3 {
  font-size: 1.25rem;
  margin: 0 0 8px;
  font-family: var(--font-heading);
}

.page-home .home-quick__card > p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--deep-gray);
  margin: 0 0 16px;
}

.page-home .home-quick__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  background: var(--paper);
  border: 1px dashed var(--light-gray);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  color: var(--slate);
}

.page-home .home-quick__route i {
  font-style: normal;
  color: var(--orange);
  font-weight: 700;
}

.page-home .home-quick__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.page-home .home-quick__list li {
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--deep-gray);
}

.page-home .home-quick__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.page-home .home-quick__mark {
  display: block;
  margin: 32px auto 0;
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
}

.page-home .home-schedule {
  padding: 56px 20px;
  background: linear-gradient(135deg, var(--slate) 0%, var(--ink) 100%);
  color: var(--paper);
}

.page-home .home-schedule__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-home .home-schedule__head h2 {
  color: var(--white);
}

.page-home .home-schedule__head p {
  color: rgba(245, 240, 230, 0.78);
}

.page-home .home-schedule__visual {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.page-home .home-schedule__list {
  display: grid;
  gap: 12px;
}

.page-home .home-schedule__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(245, 240, 230, 0.08);
  border: 1px solid rgba(245, 240, 230, 0.14);
  border-radius: var(--radius);
  padding: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-home .home-schedule__item:hover {
  background: rgba(255, 107, 53, 0.22);
  transform: translateX(4px);
}

.page-home .home-schedule__order {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  min-width: 36px;
}

.page-home .home-schedule__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-schedule__info strong {
  font-size: 1rem;
  color: var(--white);
}

.page-home .home-schedule__info span {
  font-size: 0.8125rem;
  color: rgba(245, 240, 230, 0.75);
}

.page-home .home-schedule__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home .home-schedule__link:hover {
  border-bottom-color: var(--blue);
}

.page-home .home-schedule__more {
  margin-top: 24px;
  text-align: center;
}

.page-home .home-stats {
  padding: 56px 20px;
  background: var(--paper);
}

.page-home .home-stats__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-home .home-stats__visual {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.page-home .home-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .home-stats__item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.page-home .home-stats__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
}

.page-home .home-stats__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--slate);
  margin-top: 6px;
}

.page-home .home-why {
  padding: 56px 20px 64px;
  background: var(--white);
}

.page-home .home-why__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-home .home-why__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-why__item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .home-why__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.page-home .home-why__step {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}

.page-home .home-why__item h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.page-home .home-why__item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--deep-gray);
  margin: 0;
}

.page-home .home-why__footer {
  margin-top: 32px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.8;
}

.page-home .home-why__footer a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home .home-why__footer a:hover {
  border-bottom-color: var(--blue);
}

.page-home .home-schedule__link:focus-visible,
.page-home .home-why__footer a:focus-visible,
.page-home .home-quick__card a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.page-home [data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    transition: none !important;
  }

  .page-home .home-schedule__item,
  .page-home .home-why__item {
    transition: none !important;
  }
}

@media (min-width: 768px) {
  .page-home .home-hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    padding: 48px 32px 72px;
    align-items: stretch;
  }

  .page-home .home-hero__panel--ink {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: var(--radius) 0 0 var(--radius);
    clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%);
    margin-right: -72px;
  }

  .page-home .home-hero__panel--paper {
    padding: 40px 32px 40px 48px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-left: -80px;
    clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
    padding-left: 112px;
    align-content: center;
    border-left: none;
  }

  .page-home .home-hero__panel--ink h1 {
    font-size: 2.5rem;
  }

  .page-home .home-hero__lead {
    font-size: 1.0625rem;
  }

  .page-home .home-hero__num {
    font-size: 2.2rem;
  }

  .page-home .home-quick__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
  }

  .page-home .home-quick__card {
    padding: 32px;
  }

  .page-home .home-schedule__list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .page-home .home-stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page-home .home-stats__num {
    font-size: 2.4rem;
  }

  .page-home .home-why__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__inner,
  .page-home .home-quick__inner,
  .page-home .home-schedule__inner,
  .page-home .home-stats__inner,
  .page-home .home-why__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.page-home {
  --reveal-delay: 0.3s;
}
