body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2c3e50;
  background: #ffffff;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: #ffffff;
}

.hero {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  flex: 0 0 45vh;
  overflow: hidden;
  background: linear-gradient(160deg, #d8ecf3 0%, #eef6f9 55%, #ffffff 100%);
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.12) 62%,
    rgba(255, 255, 255, 0.55) 78%,
    rgba(255, 255, 255, 0.92) 90%,
    #ffffff 100%
  );
  pointer-events: none;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 5vw 8vw;
  margin-top: -4vw;
  position: relative;
  z-index: 1;
}

.content__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  margin-bottom: 7vw;
}

.content__badge {
  display: inline-block;
  margin: 0 0 3vw;
  padding: 0.4em 1em;
  border-radius: 999px;
  background: #e8f4f8;
  color: #2b7a9b;
  font-size: clamp(0.65rem, 2.8vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.content__name {
  margin: 0 0 3vw;
  font-size: clamp(1.4rem, 6vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1a2b3c;
  padding-top: 20px;
}

.content__message {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(0.9rem, 3.8vw, 1rem);
  line-height: 1.45;
  color: #3d5568;
}

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5vw;
  width: 100%;
}

.review-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(4.5rem, 18vw, 6rem);
  padding: 3vw 4vw;
  border: 1px solid #dce8ee;
  border-radius: 3.5vw;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(43, 122, 155, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.review-link:hover {
  transform: translateY(-2px);
  border-color: #b8d4e0;
  background: #f8fcfd;
  box-shadow: 0 8px 24px rgba(43, 122, 155, 0.12);
}

.review-link:active {
  transform: translateY(0);
}

.review-link:focus-visible {
  outline: 2px solid #2b7a9b;
  outline-offset: 2px;
}

.review-link__logo {
  width: min(85%, 75vw);
  height: auto;
  max-height: clamp(2.5rem, 11vw, 3.5rem);
  object-fit: contain;
  object-position: center;
}

#link-prodoctorov .review-link__logo {
  transform: scale(1.5);
}

@media (min-width: 768px) {
  body {
    background: linear-gradient(180deg, #eef6f9 0%, #f7fbfc 100%);
  }

  .page {
    max-width: 30rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: calc(100vh - 3rem);
    min-height: calc(100dvh - 3rem);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow:
      0 20px 60px rgba(43, 122, 155, 0.12),
      0 0 0 1px rgba(43, 122, 155, 0.06);
  }

  .hero {
    width: 100%;
    margin-left: 0;
    flex-basis: clamp(17.5rem, 48vh, 28.75rem);
  }

  .hero__photo {
    transform: scale(0.8);
    transform-origin: center 12%;
  }

  .content {
    padding: 0 2rem 2.5rem;
    margin-top: -2rem;
  }

  .content__header {
    margin-bottom: 2rem;
  }

  .content__badge {
    margin-bottom: 0.75rem;
  }

  .content__name {
    margin-bottom: 0.75rem;
  }

  .content__message {
    margin-bottom: 0;
  }

  .links {
    gap: 1rem;
  }

  .review-link {
    min-height: 6rem;
    padding: 0.875rem 1.25rem;
    border-radius: 0.875rem;
  }

  .review-link__logo {
    width: min(100%, 18.75rem);
    max-height: 3.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-link {
    transition: none;
  }

  .review-link:hover {
    transform: none;
  }
}
