/* Homepage-only hero; the shared page layouts remain unchanged. */
.product-hero {
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
  padding: 72px 0 64px;
  text-align: center;
}

.product-hero__title {
  margin: 0;
  font-size: 100px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-hero__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}

.product-hero__line + .product-hero__line { margin-top: 8px; }

.product-hero__photo {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  object-fit: cover;
  border-radius: 24px;
}

.product-hero__photo--portrait { object-position: center 40%; }
.product-hero__photo--team { object-position: 34% center; }
.product-hero__highlight {
  display: inline-block;
  padding: 3px 10px 5px;
  background: var(--blue);
  color: white;
}

.product-hero__copy {
  max-width: 660px;
  margin: 40px auto 0;
  color: #4f5250;
  font-size: 20px;
  line-height: 1.55;
}

.product-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.product-hero__actions .button { min-height: 52px; padding-inline: 24px; }
.product-hero__work-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
}
.product-hero__work-link:hover { color: var(--blue); }
.product-hero__work-link .arrow { transform: rotate(90deg); }

@media (min-width: 1600px) {
  .product-hero { padding-top: 88px; padding-bottom: 72px; }
  .product-hero__title { font-size: 106px; }
  .product-hero__photo { width: 116px; height: 116px; flex-basis: 116px; }
}

@media (max-width: 1399px) {
  .product-hero__title { font-size: 88px; }
}

@media (max-width: 1279px) {
  .product-hero__title { font-size: 72px; }
  .product-hero__photo { width: 84px; height: 84px; flex-basis: 84px; border-radius: 20px; }
}

@media (max-width: 1023px) {
  .product-hero { padding-top: 64px; padding-bottom: 56px; }
  .product-hero__title { font-size: 52px; }
  .product-hero__line { gap: 14px; }
  .product-hero__photo { width: 68px; height: 68px; flex-basis: 68px; border-radius: 16px; }
}

@media (max-width: 767px) {
  .product-hero { width: calc(100% - 32px); padding: 44px 0 40px; }
  .product-hero__title { font-size: 40px; }
  .product-hero__line { gap: 10px; }
  .product-hero__line--product { flex-wrap: wrap; gap: 6px; }
  .product-hero__photo { width: 48px; height: 48px; flex-basis: 48px; border-radius: 12px; }
  .product-hero__copy { max-width: 480px; margin-top: 28px; font-size: 17px; }
  .product-hero__actions { gap: 12px 20px; margin-top: 22px; }
}

@media (max-width: 479px) {
  .product-hero__title { font-size: 36px; }
  .product-hero__line--product { flex-direction: column; }
  .product-hero__line--product .product-hero__highlight { padding-inline: 12px; }
  .product-hero__photo { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
  .product-hero__photo--portrait { display: none; }
  .product-hero__line--product { font-size: 48px; }
  .product-hero__actions { flex-direction: column; gap: 8px; }
  .product-hero__actions .button { width: auto; }
}

@media (min-width: 360px) and (max-width: 389px) {
  .product-hero__title { font-size: 32px; }
  .product-hero__line--product { font-size: 44px; }
}

@media (max-width: 359px) {
  .product-hero__title { font-size: 30px; }
  .product-hero__line--product { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-hero a { transition: none; }
}
