.page-home {
  --home-glow: rgba(212, 175, 55, 0.14);
  --home-line: rgba(155, 176, 196, 0.22);
  --home-card-bg: rgba(13, 32, 58, 0.6);
  position: relative;
  background-color: var(--c-deep-sea);
  color: var(--c-off-white);
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  min-height: 720px;
  padding: calc(var(--header-h) + 48px) 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--c-divider);
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.46;
  filter: saturate(0.78) brightness(0.88);
}

.page-home .home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 76% 28%, rgba(29, 58, 110, 0.72), transparent 58%),
    linear-gradient(90deg, rgba(8, 20, 38, 0.97) 0%, rgba(11, 31, 58, 0.84) 48%, rgba(29, 58, 110, 0.42) 100%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: 4%;
  top: 14%;
  background: radial-gradient(circle, var(--home-glow), transparent 64%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-home .breadcrumb {
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--c-gray-blue);
}

.page-home .breadcrumb a {
  color: var(--c-light-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.page-home .breadcrumb a:hover {
  color: var(--c-gold-bright);
  border-bottom-color: var(--c-gold);
}

.page-home .breadcrumb [aria-current="page"] {
  color: var(--c-gold);
}

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.page-home .home-hero-kicker {
  margin-bottom: 16px;
  color: var(--c-gold);
}

.page-home .home-hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--c-off-white);
}

.page-home .home-hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--c-gold-bright);
  margin: 0 0 20px;
}

.page-home .home-hero-desc {
  max-width: 56ch;
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 32px;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-hero-aside {
  position: relative;
  display: grid;
  gap: 16px;
}

.page-home .home-stat {
  background: rgba(11, 31, 58, 0.62);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  position: relative;
  backdrop-filter: blur(6px);
}

.page-home .home-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: linear-gradient(180deg, var(--c-gold), transparent);
}

.page-home .home-stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--c-gold-bright);
  line-height: 1;
}

.page-home .home-stat-unit {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-light-blue);
  margin-left: 8px;
}

.page-home .home-stat p {
  margin: 10px 0 0;
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-home .page-section-change {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--c-deep-sea) 0%, var(--c-deep-space) 100%);
}

.page-home .editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-home .rail .mono-label {
  color: var(--c-gold);
  margin-bottom: 12px;
}

.page-home .rail .section-title {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.25;
}

.page-home .rail-note {
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 32ch;
}

.page-home .home-change-legend {
  margin-top: 24px;
}

.page-home .change-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .change-step-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 24px;
}

.page-home .change-step-list li {
  position: relative;
  padding: 24px 28px 24px 84px;
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-md);
  background: var(--home-card-bg);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.page-home .change-step-list li:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(29, 58, 110, 0.5);
}

.page-home .change-step-list .mono-index {
  position: absolute;
  left: 22px;
  top: 26px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-gold);
}

.page-home .change-step-list h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--c-off-white);
}

.page-home .change-step-list p {
  margin: 0;
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-home .home-change-figure {
  margin: 0;
  position: relative;
}

.page-home .home-change-figure::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.page-home .home-change-figure img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.page-home .home-change-figure figcaption {
  position: relative;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-gray-blue);
}

.page-home .page-section-services {
  padding: 80px 0;
  background: var(--c-deep-sea);
}

.page-home .section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}

.page-home .section-kicker {
  color: var(--c-gold);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 0;
  color: var(--c-off-white);
}

.page-home .section-note {
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  line-height: 1.7;
  max-width: 480px;
}

.page-home .home-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .home-service-card {
  position: relative;
  padding: 20px;
  background: linear-gradient(180deg, var(--c-deep-space), rgba(13, 32, 58, 0.88));
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  margin: 0;
}

.page-home .home-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.6), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}

.page-home .home-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
}

.page-home .home-service-card:hover::after {
  opacity: 1;
}

.page-home .home-service-figure {
  margin: 0 0 16px;
}

.page-home .home-service-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.page-home .home-service-card .card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--c-off-white);
}

.page-home .home-service-card .card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-home .home-service-card .card-text {
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-home .page-section-news {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--c-deep-space), var(--c-deep-sea));
}

.page-home .news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .news-left .mono-label {
  color: var(--c-gold);
  margin-bottom: 12px;
}

.page-home .news-left .section-title {
  margin-bottom: 14px;
}

.page-home .news-intro {
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-home .news-list {
  display: grid;
  gap: 14px;
}

.page-home .news-item {
  padding: 22px 24px;
  border-left: 3px solid var(--c-divider);
  background: rgba(11, 31, 58, 0.55);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.page-home .news-item:hover {
  border-left-color: var(--c-gold);
  background: rgba(29, 58, 110, 0.5);
}

.page-home .news-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 10px;
}

.page-home .news-item h3 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--c-off-white);
}

.page-home .news-item p {
  margin: 0;
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-home .page-section-trust {
  padding: 80px 0 100px;
  background: var(--c-deep-sea);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 40px;
}

.page-home .trust-item {
  position: relative;
  padding: 24px;
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.35), rgba(13, 32, 58, 0.7));
  transition: border-color 0.3s var(--ease-out);
}

.page-home .trust-item:hover {
  border-color: rgba(212, 175, 55, 0.42);
}

.page-home .trust-icon {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--c-gold-bright);
  display: block;
  margin-bottom: 12px;
}

.page-home .trust-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--c-off-white);
}

.page-home .trust-item p {
  margin: 0;
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.65;
}

.page-home .trust-milestone {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-lg);
  background: rgba(11, 31, 58, 0.4);
}

.page-home .trust-milestone img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.page-home .trust-statement {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--c-divider);
  color: var(--c-light-blue);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .home-floating-feedback {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
}

.page-home .home-floating-feedback details {
  background: var(--c-deep-space);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  width: 248px;
}

.page-home .home-floating-feedback summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-off-white);
}

.page-home .home-floating-feedback summary::-webkit-details-marker {
  display: none;
}

.page-home .home-floating-feedback summary:hover {
  color: var(--c-gold-bright);
}

.page-home .feedback-glyph {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-bright));
  color: var(--c-deep-sea);
  font-family: var(--font-heading);
  font-weight: 800;
  border-radius: 50%;
}

.page-home .feedback-duration {
  margin-left: auto;
  color: var(--c-gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.page-home .feedback-panel {
  border-top: 1px solid var(--c-divider);
  padding: 16px;
}

.page-home .feedback-panel .mono-label {
  color: var(--c-gold);
  margin-bottom: 12px;
}

.page-home .feedback-steps {
  margin: 0 0 16px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--c-gray-blue);
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.55;
}

.page-home .feedback-panel .btn-outline {
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 780px) {
  .page-home .home-service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

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

@media (min-width: 860px) {
  .page-home .news-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 64px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
  }

  .page-home .home-stat:nth-child(2) {
    transform: translateX(24px);
  }

  .page-home .home-stat:nth-child(3) {
    transform: translateX(44px);
  }
}

@media (min-width: 960px) {
  .page-home .editorial {
    grid-template-columns: 260px 1fr;
    gap: 64px;
  }

  .page-home .change-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 800px;
  }

  .page-home .home-hero-desc {
    font-size: 1.05rem;
  }

  .page-home .home-stat-num {
    font-size: 3.2rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .page-home [data-reveal].in-view {
    opacity: 1;
    transform: none;
  }
}

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