.page-home {
  --home-gap: 2.5rem;
  --home-gap-lg: 4rem;
  scroll-behavior: smooth;
}

.page-home .home-hero {
  padding: 1.5rem 0 2.5rem;
  position: relative;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 45%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 107, 53, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
}

.page-home .home-hero__text {
  max-width: 680px;
}

.page-home .home-hero__text h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
  letter-spacing: 0.01em;
}

.page-home .home-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
}

.page-home .home-hero__subline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.page-home .home-hero__cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-home .home-entry-card {
  display: block;
  text-decoration: none;
  color: var(--text-primary);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-left: 3px solid transparent;
}

.page-home .home-entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.page-home .home-entry-card--primary {
  border-left-color: var(--accent-orange);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(17, 34, 64, 0.6));
}

.page-home .home-entry-card--secondary {
  border-left-color: var(--accent-teal);
}

.page-home .home-entry-card--tertiary {
  border-left-color: var(--accent-orange);
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.06), rgba(17, 34, 64, 0.4));
}

.page-home .home-entry-card__num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0.875rem;
}

.page-home .home-entry-card h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin: 0 0 0.5rem;
}

.page-home .home-entry-card__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.page-home .home-entry-card__meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: inline-block;
  padding: 0.3rem 0.875rem;
  background: var(--glass);
  border-radius: 999px;
}

.page-home .home-section {
  padding: 3.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.page-home .home-section:target .home-section__head h2 {
  color: var(--accent-orange);
}

.page-home .home-section__head {
  margin-bottom: 2rem;
}

.page-home .home-section__head h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.3;
  margin: 0.5rem 0 0.5rem;
}

.page-home .home-section__head .section-subtitle {
  margin: 0;
}

.page-home .home-section__more {
  margin-top: 2rem;
  text-align: center;
}

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

.page-home .home-services {
  background: linear-gradient(180deg, rgba(17, 34, 64, 0.45), rgba(10, 25, 47, 0));
}

.page-home .home-services__layout {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-services__cards {
  display: grid;
  gap: 1.25rem;
}

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

.page-home .home-service-card__icon {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-orange);
  display: block;
  margin-bottom: 0.625rem;
}

.page-home .home-service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.page-home .home-service-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.page-home .home-services__figure {
  margin: 0;
}

.page-home .home-services__figure img {
  border-radius: var(--radius);
}

.page-home .home-services__figure figcaption {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  text-align: center;
}

.page-home .home-services__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.page-home .home-services__categories-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-right: 0.25rem;
  font-size: 0.875rem;
}

.page-home .home-services__categories span {
  padding: 0.375rem 0.875rem;
  background: var(--glass);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.page-home .home-services__categories-more {
  color: var(--accent-teal);
  font-weight: 600;
}

.page-home .home-help {
  background: rgba(17, 34, 64, 0.28);
}

.page-home .home-help__layout {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-help__figure {
  margin: 0;
}

.page-home .home-help__figure img {
  border-radius: var(--radius);
}

.page-home .home-help__figure figcaption {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  text-align: center;
}

.page-home .home-help__intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 1.5rem;
}

.page-home .home-help__list {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0 0 1.25rem;
}

.page-home .home-help__list h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0 0 0.875rem;
  color: var(--accent-teal);
}

.page-home .home-help__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.page-home .home-help__list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.page-home .home-help__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 2px;
  transform: rotate(45deg);
}

.page-home .home-help__list li strong {
  color: var(--accent-orange);
  font-weight: 600;
}

.page-home .home-help__list li a {
  color: var(--accent-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-home .home-help__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.page-home .home-help__topic {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-help__topic:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.page-home .home-sitemap {
  background: linear-gradient(180deg, rgba(10, 25, 47, 0), rgba(17, 34, 64, 0.4));
}

.page-home .home-sitemap__layout {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-sitemap__intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.page-home .home-sitemap h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 1.5rem 0 0.75rem;
}

.page-home .home-sitemap__columns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem 1rem;
}

.page-home .home-sitemap__columns li {
  background: var(--glass);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  line-height: 1.5;
}

.page-home .home-sitemap__columns a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
  margin-right: 0.25rem;
}

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

.page-home .home-sitemap__columns span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.page-home .home-sitemap__tags p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0 0 0.875rem;
}

.page-home .home-sitemap__tagscloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home .home-sitemap__tagscloud span {
  padding: 0.375rem 0.875rem;
  background: var(--glass);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .home-sitemap__tagscloud span:nth-child(4n+1) {
  color: var(--accent-orange);
}

.page-home .home-sitemap__tagscloud span:nth-child(4n) {
  color: var(--accent-teal);
}

.page-home .home-sitemap__figure {
  margin: 0;
}

.page-home .home-sitemap__figure img {
  border-radius: var(--radius);
}

.page-home .home-sitemap__figure figcaption {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  text-align: center;
}

.page-home .home-news__layout {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.125rem;
}

.page-home .home-news__item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 3px solid var(--accent-orange);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-news__item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.page-home .home-news__item:nth-child(2n) {
  border-left-color: var(--accent-teal);
}

.page-home .home-news__tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent-teal);
  background: rgba(0, 201, 167, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.page-home .home-news__item h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.page-home .home-news__item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.page-home .home-news__aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.page-home .home-news__card {
  padding: 1.5rem;
}

.page-home .home-news__card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
}

.page-home .home-news__card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.page-home .home-news__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1rem;
  border-radius: 8px;
  background: var(--glass);
  transition: background 0.2s ease;
}

.page-home .home-news__more:hover {
  background: rgba(255, 107, 53, 0.1);
}

.page-home .home-watermark {
  margin-top: 1.5rem;
  opacity: 0.3;
  overflow: hidden;
}

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

@media (min-width: 769px) {
  .page-home .home-hero {
    padding: 2.5rem 0 3.5rem;
  }

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

  .page-home .home-section {
    padding: 4.5rem 0;
  }

  .page-home .home-section__head h2 {
    font-size: 2rem;
  }

  .page-home .home-services__cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .page-home .home-news__layout {
    grid-template-columns: 1.4fr 0.6fr;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 4rem 0 5.5rem;
  }

  .page-home .home-hero__inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }

  .page-home .home-hero__text {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .page-home .home-hero__text h1 {
    font-size: 2.75rem;
    line-height: 1.2;
  }

  .page-home .home-hero__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .page-home .home-entry-card--primary {
    grid-column: 1 / -1;
  }

  .page-home .home-entry-card--tertiary {
    transform: translateY(2rem);
  }

  .page-home .home-services__layout {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
    gap: 3rem;
  }

  .page-home .home-help__layout {
    grid-template-columns: 0.65fr 1.35fr;
    align-items: center;
    gap: 3.5rem;
  }

  .page-home .home-sitemap__layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 3.5rem;
  }

  .page-home .home-news__item {
    padding: 1.75rem;
  }
}
