.page-home {
  --hero-clip-offset: 12%;
  --record-width: 360px;
  max-width: 100%;
  overflow-x: hidden;
}

.page-home .hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--color-bg);
  padding: var(--header-height) 0 4rem;
  overflow: hidden;
}

.page-home .hero-bg-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.page-home .hero-bg-left {
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  opacity: 0.12;
}

.page-home .hero-bg-right {
  bottom: 0;
  right: 0;
  width: 50%;
  height: 70%;
  background: var(--color-accent);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.18;
}

.page-home .hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.page-home .hero-left {
  flex: 1 1 300px;
}

.page-home .hero-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.page-home .hero-logo .brand-text,
.page-home .hero-logo h1.brand-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}

.page-home .hero-sub {
  font-family: var(--font-accent);
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.page-home .hero-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 520px;
  margin-bottom: 2rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .hero-right {
  flex: 1 1 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-home .hero-img {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.page-home .change-info {
  background: var(--color-white);
  padding: 4rem 0;
}

.page-home .change-info-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-home .change-info-icon {
  display: block;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--color-primary-transparent);
  padding: 0.5rem;
}

.page-home .change-grid {
  gap: 2rem;
}

.page-home .change-card {
  text-align: center;
  padding: 2rem 1.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.page-home .repair-panel {
  background: var(--color-bg);
  padding: 4rem 0;
}

.page-home .repair-grid {
  gap: 2rem;
  margin-top: 2rem;
}

.page-home .repair-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

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

.page-home .repair-card-visual {
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-primary-transparent);
}

.page-home .repair-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.page-home .repair-extra {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
}

.page-home .repair-extra a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-home .user-record {
  background: var(--color-bg);
  padding: 2rem 0 4rem;
}

.page-home .record-card {
  max-width: var(--record-width);
  margin: 0 auto;
  background: var(--color-white);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  position: relative;
}

.page-home .record-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.page-home .record-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-transparent);
  padding: 0.375rem;
}

.page-home .record-header .card-title {
  margin-bottom: 0;
  flex: 1;
}

.page-home .record-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  vertical-align: middle;
}

.page-home .record-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.page-home .record-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.page-home .record-label {
  color: var(--color-text);
  font-weight: 500;
}

.page-home .record-value {
  color: var(--color-heading);
  font-weight: 700;
}

.page-home .record-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home .record-detail {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.page-home .site-index {
  background: var(--color-white);
  padding: 4rem 0;
}

.page-home .index-grid {
  gap: 2rem;
  margin-top: 2rem;
}

.page-home .index-card {
  padding: 2rem 1.5rem;
}

.page-home .index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home .index-list a {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), color var(--transition-base);
  display: block;
}

.page-home .index-list a:hover,
.page-home .index-list a:focus {
  color: var(--color-link);
  border-bottom-color: var(--color-link);
}

.page-home .breadcrumb {
  padding: 1rem 0;
  font-family: var(--font-accent);
  font-size: 0.875rem;
}

.page-home .breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.page-home .breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  text-decoration: underline;
}

.page-home .breadcrumb-sep {
  margin: 0 0.25rem;
  color: var(--color-border);
}

@media (max-width: 767px) {
  .page-home .hero {
    min-height: 70vh;
    padding: calc(var(--header-height) + 1.5rem) 0 2.5rem;
  }

  .page-home .hero-bg-left {
    width: 70%;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  }

  .page-home .hero-bg-right {
    width: 70%;
    height: 50%;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .hero-left {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-home .hero-logo {
    justify-content: center;
  }

  .page-home .hero-actions {
    justify-content: center;
  }

  .page-home .hero-right {
    flex: 1 1 100%;
  }

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

  .page-home .change-grid,
  .page-home .repair-grid {
    grid-template-columns: 1fr;
  }

  .page-home .record-card {
    max-width: 100%;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .page-home .index-grid {
    grid-template-columns: 1fr;
  }

  .page-home .record-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-home .hero-left {
    flex: 1 1 45%;
  }

  .page-home .hero-right {
    flex: 1 1 45%;
  }

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

  .page-home .record-card {
    max-width: 480px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-left {
    flex: 1 1 45%;
  }

  .page-home .hero-right {
    flex: 1 1 45%;
  }

  .page-home .record-card {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    box-shadow: var(--shadow-card-hover);
    max-width: var(--record-width);
  }

  .page-home .user-record {
    padding-bottom: 0;
    background: transparent;
  }

  .page-home .site-index {
    padding-bottom: 6rem;
  }
}
