.page-home {
  background: var(--df-c-blue-deep);
  color: var(--df-c-text);
  overflow-x: hidden;
  font-family: var(--df-font-body);
}

.page-home .ph-section-container {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.page-home .ph-bg-num {
  position: absolute;
  top: 1rem;
  right: -1rem;
  z-index: 0;
  pointer-events: none;
  font-family: var(--df-font-head);
  font-weight: 900;
  font-size: clamp(7rem, 18vw, 14rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(201, 168, 124, 0.05);
}

.page-home .ph-section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 1.75rem;
  max-width: 820px;
}

.page-home .df-section__title {
  font-family: var(--df-font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.18;
  margin: 0.45rem 0 0.75rem;
  color: var(--df-c-text);
}

.page-home .df-section__desc {
  color: var(--df-c-text-sub);
  line-height: 1.8;
  max-width: 720px;
  margin: 0;
}

.page-home .ph-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88vh;
  padding: 64px 0 48px;
  overflow: hidden;
}

.page-home .ph-hero__media {
  position: absolute;
  inset: 0;
}

.page-home .ph-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .ph-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 26, 58, 0.98) 0%, rgba(10, 26, 58, 0.88) 34%, rgba(10, 26, 58, 0.58) 68%, rgba(16, 36, 71, 0.72) 100%);
  z-index: 1;
}

.page-home .ph-hero__tilt {
  position: absolute;
  right: -5rem;
  top: 14%;
  width: 72%;
  height: 32vw;
  min-height: 220px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0), rgba(255, 107, 0, 0.2));
  clip-path: polygon(24% 0, 100% 0, 100% 100%);
  z-index: 2;
  pointer-events: none;
}

.page-home .ph-hero__line {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 220px;
  z-index: 2;
  pointer-events: none;
}

.page-home .ph-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

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

.page-home .ph-hero__title {
  margin: 0;
  font-family: var(--df-font-head);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #F3E7CF 0%, #E5C687 38%, #C9A87C 78%, #E5E9F0 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #E5C687;
}

.page-home .ph-hero__subtitle {
  margin: 0.55rem 0 0;
  font-family: var(--df-font-head);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--df-c-gold);
}

.page-home .ph-hero__desc {
  margin: 1.25rem 0 0;
  max-width: 560px;
  color: var(--df-c-text-sub);
  font-size: 1rem;
  line-height: 1.8;
}

.page-home .ph-hero__desc strong {
  color: var(--df-c-gold-light);
  font-weight: 700;
}

.page-home .ph-hero__card {
  margin-top: 2.5rem;
  padding: 1.6rem;
  max-width: 440px;
  border-left: 3px solid var(--df-c-orange);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(16, 36, 71, 0.85));
}

.page-home .ph-hero__card-title {
  margin: 0.8rem 0 0.6rem;
  font-family: var(--df-font-head);
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #F4F6FA;
}

.page-home .ph-hero__card-text {
  margin: 0 0 1rem;
  color: var(--df-c-text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-home .ph-hero__cta {
  width: 100%;
}

.page-home .ph-subscribe__card {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  border-left: 3px solid var(--df-c-gold);
}

.page-home .ph-subscribe__time {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--df-c-gold-light);
  font-weight: 700;
  font-size: 0.95rem;
}

.page-home .ph-subscribe__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--df-c-orange);
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.55);
}

.page-home .ph-subscribe__summary {
  margin: 1rem 0 1.2rem;
  color: var(--df-c-text-sub);
  line-height: 1.85;
}

.page-home .ph-catalog__skyline {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  border-radius: var(--df-radius);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 124, 0.18);
}

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

.page-home .ph-catalog__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.page-home .ph-catalog__item {
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
  text-decoration: none;
  color: var(--df-c-text);
  transition: transform var(--df-ts), border-color var(--df-ts), box-shadow var(--df-ts);
}

.page-home .ph-catalog__item:hover,
.page-home .ph-catalog__item:focus-visible {
  transform: translateY(-4px);
  border-color: var(--df-c-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  outline: none;
}

.page-home .ph-catalog__index {
  color: var(--df-c-gold);
  font-family: var(--df-font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.page-home .ph-catalog__name {
  margin: 0.7rem 0 0.4rem;
  font-family: var(--df-font-head);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--df-c-text);
}

.page-home .ph-catalog__text {
  margin: 0;
  color: var(--df-c-text-sub);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .ph-search__panel {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(16, 36, 71, 0.75));
}

.page-home .ph-search__box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--df-c-border);
  border-radius: 6px;
  background: rgba(10, 26, 58, 0.45);
  color: var(--df-c-text-sub);
  text-decoration: none;
  transition: box-shadow var(--df-ts), border-color var(--df-ts);
}

.page-home .ph-search__box span:first-of-type {
  flex: 1;
}

.page-home .ph-search__icon {
  color: var(--df-c-gold);
  flex-shrink: 0;
}

.page-home .ph-search__box:hover,
.page-home .ph-search__box:focus-visible {
  border-color: var(--df-c-gold-light);
  box-shadow: 0 0 0 2px rgba(201, 168, 124, 0.45), 0 12px 32px rgba(0, 0, 0, 0.3);
  outline: none;
}

.page-home .ph-search__note {
  margin: 1.25rem 0 0;
  color: var(--df-c-text-sub);
  font-size: 0.9rem;
  line-height: 1.75;
}

.page-home .ph-search__hints {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  color: var(--df-c-text-sub);
  font-size: 0.88rem;
}

.page-home .ph-search__hints a {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--df-c-border);
  border-radius: 999px;
  color: var(--df-c-text-sub);
  text-decoration: none;
  font-size: 0.85rem;
  transition: border-color var(--df-ts), color var(--df-ts);
}

.page-home .ph-search__hints a:hover,
.page-home .ph-search__hints a:focus-visible {
  border-color: var(--df-c-gold);
  color: var(--df-c-gold-light);
}

.page-home .ph-export__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.page-home .ph-export__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 1px solid rgba(229, 198, 135, 0.2);
}

.page-home .ph-export__formats {
  display: grid;
  gap: 0.75rem;
}

.page-home .ph-export__format {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
}

.page-home .ph-export__tag {
  font-family: var(--df-font-head);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--df-c-gold);
  border: 1px solid var(--df-c-border);
  border-radius: 4px;
  padding: 0.35rem 0.55rem;
  flex-shrink: 0;
}

.page-home .ph-export__format p {
  margin: 0;
  color: var(--df-c-text-sub);
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-home .ph-export__link {
  justify-self: start;
  margin-top: 0.35rem;
}

.page-home .ph-updates__wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: start;
}

.page-home .ph-updates__list {
  margin: 0;
}

.page-home .ph-updates__text {
  flex-basis: 100%;
  margin: 0.45rem 0 0;
  color: var(--df-c-text-sub);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .ph-updates__stats {
  padding: 1.25rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(10, 26, 58, 0.82));
}

.page-home .ph-updates__chart {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 1.2rem;
}

.page-home .ph-updates__stats dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.page-home .ph-updates__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(201, 168, 124, 0.2);
  padding-bottom: 0.55rem;
}

.page-home .ph-updates__stat dt {
  color: var(--df-c-text-sub);
  font-size: 0.85rem;
}

.page-home .ph-updates__stat dd {
  margin: 0;
  font-family: var(--df-font-head);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--df-c-gold-light);
}

@media (min-width: 768px) {
  .page-home .ph-hero {
    min-height: 92vh;
  }

  .page-home .ph-hero__inner {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    column-gap: 2rem;
    row-gap: 2rem;
  }

  .page-home .ph-hero__breadcrumb {
    grid-column: 1 / -1;
    margin-bottom: 3rem;
  }

  .page-home .ph-hero__head {
    grid-column: 1 / 8;
    padding-bottom: 5rem;
  }

  .page-home .ph-hero__card {
    grid-column: 9 / -1;
    margin: 0 0 1rem 2rem;
    justify-self: end;
  }

  .page-home .ph-catalog__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .ph-catalog__item {
    padding: 1.4rem;
  }

  .page-home .ph-export__grid {
    grid-template-columns: 8fr 12fr;
  }

  .page-home .ph-updates__wrap {
    grid-template-columns: minmax(0, 1fr) 400px;
  }
}
