﻿:root {
  --bg-main: #fff4f7;
  --bg-lilac: #f5e8f0;
  --bg-soft: rgba(255, 255, 255, 0.76);
  --panel: rgba(255, 249, 252, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --panel-border: rgba(184, 95, 130, 0.12);
  --text: #16131f;
  --muted: #7f6b79;
  --purple: #bf6b91;
  --purple-dark: #9a5372;
  --purple-soft: rgba(191, 107, 145, 0.1);
  --orange: #e59ab4;
  --orange-deep: #d7809e;
  --shadow: 0 24px 80px rgba(128, 82, 103, 0.12);
  --shadow-soft: 0 18px 42px rgba(128, 82, 103, 0.08);
  --gradient-main: linear-gradient(135deg, #efbfd1 0%, #d98bac 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 247, 250, 0.96) 0%, rgba(247, 234, 241, 0.94) 100%);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: 144px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 16%, rgba(248, 219, 228, 0.82) 0, rgba(248, 219, 228, 0) 26%),
    radial-gradient(circle at 82% 12%, rgba(239, 225, 241, 0.86) 0, rgba(239, 225, 241, 0) 32%),
    radial-gradient(circle at 76% 74%, rgba(252, 232, 240, 0.9) 0, rgba(252, 232, 240, 0) 30%),
    linear-gradient(135deg, #fff8fa 0%, #fff3f7 34%, #fbecf3 63%, #f8eef6 100%);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.shell.hero-grid {
  width: min(1416px, calc(100% - 48px));
}

.background-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.42;
  animation: drift 16s ease-in-out infinite;
}

.background-orb--left {
  top: 8%;
  left: -6%;
  width: 22rem;
  height: 22rem;
  background: rgba(245, 205, 220, 0.58);
}

.background-orb--right {
  top: 20%;
  right: -7%;
  width: 28rem;
  height: 28rem;
  background: rgba(231, 211, 236, 0.44);
  animation-delay: -5s;
}

.background-orb--center {
  bottom: 10%;
  left: 32%;
  width: 20rem;
  height: 20rem;
  background: rgba(240, 188, 210, 0.24);
  animation-delay: -8s;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 249, 252, 0.88);
  border-bottom: 1px solid rgba(191, 107, 145, 0.08);
  box-shadow: 0 20px 40px rgba(48, 46, 48, 0.04);
  backdrop-filter: blur(20px);
}

.site-header .shell {
  width: min(1480px, calc(100% - 32px));
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 32px;
  align-items: start;
  padding: 18px 0 14px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
  padding-top: 6px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #302e30;
  text-transform: uppercase;
}

.site-header__brand-part {
  font-size: clamp(0.9rem, 0.58vw + 0.76rem, 1.08rem);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(191, 107, 145, 0.84);
  color: var(--purple);
  background: rgba(255, 255, 255, 0.76);
}

.brand-mark span {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 5px;
  transform: rotate(45deg);
}

.site-header__brand .brand-mark {
  width: 34px;
  height: 34px;
}

.site-header__brand .brand-mark span {
  width: 15px;
  height: 15px;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo--header {
  max-width: 220px;
  height: 48px;
}

.brand-logo--footer {
  max-width: 220px;
  height: 52px;
}

.site-header__menu {
  display: contents;
}

.site-header__top-panel,
.site-header__meta,
.site-header__actions,
.site-header__nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__top-panel {
  grid-column: 2;
  width: 100%;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
}

.site-header__meta {
  gap: 28px;
  flex-wrap: wrap;
}

.site-header__meta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.96rem;
  font-weight: 600;
  color: #302e30;
  transition: color 0.22s ease;
}

.site-header__meta-more svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.site-header__actions {
  gap: 14px;
  flex-shrink: 0;
}

.site-header__nav {
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(191, 107, 145, 0.12);
  overflow-x: auto;
  scrollbar-width: none;
}

.site-header__nav::-webkit-scrollbar {
  display: none;
}

.site-header__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 0 2px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  color: #16131f;
  white-space: nowrap;
  transition: color 0.22s ease;
}

.site-header__meta a:hover,
.site-header__nav a:hover,
.text-link:hover {
  color: var(--purple);
}

.site-header__join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #e3a2bb 0%, var(--purple) 100%);
  box-shadow: 0 12px 24px rgba(191, 107, 145, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.site-header__join:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(191, 107, 145, 0.24);
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(191, 107, 145, 0.14);
  border-radius: 8px;
  color: #302e30;
  background: rgba(255, 255, 255, 0.72);
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.site-header__toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.button:disabled {
  opacity: 0.78;
  cursor: progress;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(191, 107, 145, 0.16);
}

.button--violet {
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
}

.button--orange {
  color: #fff;
  background: linear-gradient(135deg, #f0b0c5 0%, var(--orange) 100%);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(191, 107, 145, 0.12);
}

.button--ghost-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.button--ghost:hover,
.button--ghost-light:hover {
  box-shadow: 0 14px 34px rgba(128, 82, 103, 0.1);
}

.button--small {
  min-height: 48px;
  padding-inline: 22px;
  font-size: 0.95rem;
}

.text-link {
  font-weight: 700;
  color: var(--text);
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.section,
.hero,
.page-hero,
.site-footer {
  scroll-margin-top: 128px;
}

.section,
.hero,
.page-hero {
  padding-block: 48px;
}

.landing-main > .hero {
  background: transparent;
}

.landing-main > .section {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 246, 250, 0.34) 0%, rgba(248, 238, 244, 0.14) 100%);
}

.landing-main > .section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(191, 107, 145, 0.08),
    inset 0 -1px 0 rgba(191, 107, 145, 0.08);
}

.hero {
  padding-top: 28px;
}

.hero-grid,
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1,
.page-hero h1,
.section-head h2,
.lead-card__copy h2,
.cta-banner h2 {
  margin: 0;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 14.5ch;
  font-size: clamp(2.2rem, 4vw, 3.85rem);
  line-height: 1.01;
}

.page-hero h1,
.section-head h2 {
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
}

.hero h1 span,
.page-hero h1 span {
  color: var(--purple);
}

.hero-lead,
.page-hero__lead,
.section-head p,
.section-note,
.cta-banner p,
.lead-card__copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-head {
  margin-bottom: 28px;
}

.section-head--inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.section-note {
  max-width: 38ch;
}

.section-note--wide {
  max-width: 72ch;
  margin-top: 20px;
}

.hero-actions,
.cta-banner__actions,
.tag-row,
.lead-freebies {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.hero-points,
.speaker-grid,
.stats-grid,
.feature-grid,
.reason-grid,
.audience-grid,
.launch-grid,
.pricing-grid,
.product-grid,
.faq-grid,
.footer-grid,
.steps-grid {
  display: grid;
  gap: 22px;
}

.hero-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.hero-point {
  padding: 24px;
}

.hero-point h2 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.hero-point p,
.stat-copy,
.speaker-copy,
.feature-card p,
.reason-card p,
.audience-card p,
.launch-card p,
.pricing-card p,
.product-card p,
.small-note,
.step-card p {
  margin: 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(252px, 0.86fr) minmax(280px, 1fr);
  grid-template-areas:
    "tag-top tag-top"
    "panel media"
    "tag-bottom media";
  gap: 22px 24px;
  align-items: start;
  min-height: auto;
  padding: 32px;
  border-radius: 48px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 30% 45%, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0.14) 22%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(145deg, rgba(255, 246, 250, 0.92) 0%, rgba(246, 232, 239, 0.88) 100%);
  border: 1px solid rgba(191, 107, 145, 0.08);
}

.hero-visual::before,
.hero-visual::after {
  content: none;
}

.hero-visual::before {
  display: none;
}

.hero-visual::after {
  display: none;
}

.hero-visual__shape {
  position: absolute;
  inset: 32px;
  z-index: 0;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-placeholder {
  position: relative;
  grid-area: media;
  z-index: 1;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 330px;
  min-height: 360px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(191, 107, 145, 0.1);
  box-shadow: 0 26px 48px rgba(128, 82, 103, 0.1);
}

.hero-panel {
  position: relative;
  grid-area: panel;
  z-index: 1;
  max-width: none;
  padding: 26px;
  background: rgba(255, 255, 255, 0.84);
}

.hero-panel__eyebrow,
.page-hero__aside-label,
.pricing-card__label,
.stat-label {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

.hero-panel h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-panel p,
.page-hero__aside-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.hero-panel__list,
.meta-list,
.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.meta-list li,
.check-list li,
.hero-panel__list li {
  position: relative;
  padding-left: 20px;
}

.meta-list li::before,
.check-list li::before,
.hero-panel__list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--purple) 100%);
}

.hero-tag,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.hero-tag {
  position: relative;
  z-index: 1;
  width: fit-content;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(52, 36, 91, 0.08);
  color: var(--purple);
}

.hero-tag--top {
  grid-area: tag-top;
  align-self: start;
  justify-self: start;
}

.hero-tag--bottom {
  grid-area: tag-bottom;
  align-self: end;
  justify-self: start;
}

.chip {
  min-height: 38px;
  padding-inline: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 107, 145, 0.08);
  color: rgba(22, 19, 31, 0.86);
  white-space: nowrap;
}

.chip--accent {
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  border: 0;
}

.chip--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 28px;
}

.stat-value {
  margin: 0;
  color: var(--orange);
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.speaker-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.speaker-card {
  overflow: hidden;
  padding: 0 0 24px;
}

.speaker-card__media {
  height: 184px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(241, 225, 220, 0.92), rgba(236, 231, 255, 0.92));
}

.speaker-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.12) sepia(0.06);
}

.speaker-card h3,
.feature-card h3,
.reason-card h3,
.audience-card h3,
.launch-card h3,
.pricing-card h3,
.product-card h3,
.quote-card strong,
.step-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.14;
}

.speaker-card h3 {
  margin: 18px 22px 8px;
}

.speaker-role,
.speaker-copy {
  margin: 0 22px;
}

.speaker-role {
  color: var(--purple);
  font-weight: 800;
}

.speaker-copy {
  margin-top: 8px;
}

.feature-grid--triple,
.reason-grid,
.launch-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.reason-card,
.audience-card,
.launch-card,
.pricing-card,
.product-card,
.step-card {
  padding: 28px;
}

#tracks .section-head {
  margin-bottom: 34px;
}

#tracks .audience-grid {
  gap: 24px;
}

#tracks .launch-grid {
  margin-top: 28px;
  gap: 24px;
  align-items: stretch;
}

#tracks .audience-card,
#tracks .launch-card {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
}

#tracks .audience-card {
  padding: 32px 28px;
}

#tracks .audience-card .check-list {
  gap: 12px;
  margin-top: 10px;
}

.feature-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: rgba(191, 107, 145, 0.52);
  background: rgba(255, 255, 255, 0.54);
}

.feature-card .text-link,
.product-card .text-link {
  display: inline-flex;
  margin-top: 16px;
}

.pricing-card__value {
  margin: 14px 0 12px;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
}

.page-hero__aside {
  padding: 28px;
}

.page-hero__aside-note {
  font-size: 0.98rem;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tag-row {
  margin-top: 24px;
}

.small-note {
  margin-top: 14px;
  font-size: 0.94rem;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card__num {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
}

.internships-page .page-hero__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
  gap: 36px;
}

.internships-page .page-hero h1 {
  max-width: 12.8ch;
}

.internships-page .page-hero h1 span {
  display: block;
  margin-top: 12px;
  font-size: 0.56em;
  line-height: 1.02;
}

.internships-page .page-hero__lead {
  max-width: 62ch;
}

.internship-hero-tags {
  gap: 12px;
}

.internship-hero-aside {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 30px;
}

.internship-hero-aside .check-list,
.internship-request__copy .check-list {
  margin-top: 0;
}

.internship-hero-aside .page-hero__aside-note,
.internship-request__copy p {
  margin: 0;
}

.internship-segments,
.internship-benefits,
.internship-directions,
.internship-review-grid,
.internship-trust-grid {
  display: grid;
  gap: 22px;
}

.internship-segments {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.internship-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.internship-directions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.internship-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.internship-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.internships-page .steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.internship-segment,
.internship-benefit,
.internship-direction,
.internship-review,
.internship-trust {
  height: 100%;
  padding: 30px;
}

.internship-segment,
.internship-benefit,
.internship-review,
.internship-trust {
  display: grid;
  align-content: start;
  gap: 14px;
}

.internship-direction {
  display: grid;
  align-content: start;
  gap: 18px;
}

.internship-segment h3,
.internship-benefit h3,
.internship-direction h3,
.internship-trust h3,
.internship-request__copy h2 {
  margin: 0;
}

.internship-segment p,
.internship-benefit p,
.internship-direction p,
.internship-trust p {
  margin: 0;
  color: var(--muted);
}

.internship-benefit__num,
.internship-direction__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 800;
}

.internship-benefit__num {
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
}

.internship-direction__num {
  color: var(--purple);
  background: rgba(191, 107, 145, 0.12);
}

.internship-direction__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.internship-direction__head p {
  margin-top: 8px;
}

.internship-direction__meta {
  display: grid;
  gap: 12px;
}

.internship-direction__meta-row {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(191, 107, 145, 0.12);
}

.internship-direction__label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

.internship-direction__meta strong {
  line-height: 1.3;
}

.internship-note {
  margin-top: 20px;
}

.internship-direction .text-link {
  margin-top: auto;
}

.internship-review__quote {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.58;
}

.internship-review__author {
  margin: 0;
  color: var(--purple);
  font-weight: 800;
}

.internship-request {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  padding: 34px;
  border-radius: 38px;
  background: var(--gradient-soft);
  box-shadow: var(--shadow-soft);
}

.internship-request__copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.internship-request__copy p {
  color: var(--muted);
}

.internship-request__copy .eyebrow {
  color: var(--purple);
}

.internship-request__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.internship-request__form .field--full,
.internship-request__checks,
.internship-request__form .button {
  grid-column: 1 / -1;
}

.internship-request__form textarea {
  width: 100%;
  min-height: 144px;
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
  border: 1px solid rgba(191, 107, 145, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  outline: none;
  resize: vertical;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.internship-request__form textarea:focus {
  border-color: rgba(191, 107, 145, 0.48);
  box-shadow: 0 0 0 4px rgba(191, 107, 145, 0.1);
}

.internship-request__form textarea.is-invalid {
  border-color: rgba(182, 97, 65, 0.7);
  box-shadow: 0 0 0 4px rgba(182, 97, 65, 0.12);
}

.internship-request__form .button {
  width: 100%;
}

.internship-request__checks {
  display: grid;
  gap: 12px;
}

.internship-request__checkbox {
  color: var(--muted);
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.quote-card {
  scroll-snap-align: start;
  padding: 28px;
}

.quote-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.quote-card__person {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.quote-card__person img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-card__person strong {
  display: block;
}

.quote-card__person span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.round-nav {
  display: flex;
  gap: 10px;
}

.round-button,
.footer-socials a {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--purple);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(61, 37, 102, 0.08);
}

.round-button svg {
  width: 22px;
  height: 22px;
}

.lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  padding: 34px;
  border-radius: 38px;
  color: #fff;
  overflow: hidden;
  background: var(--gradient-main);
  box-shadow: var(--shadow);
}

.lead-card__copy,
.lead-form {
  min-width: 0;
}

.lead-card__copy p {
  color: rgba(255, 255, 255, 0.82);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.lead-form > * {
  min-width: 0;
}

input,
select {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  color: var(--text);
  border: 1px solid rgba(191, 107, 145, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

input:focus,
select:focus {
  border-color: rgba(191, 107, 145, 0.48);
  box-shadow: 0 0 0 4px rgba(191, 107, 145, 0.1);
}

input.is-invalid,
select.is-invalid {
  border-color: rgba(182, 97, 65, 0.7);
  box-shadow: 0 0 0 4px rgba(182, 97, 65, 0.12);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--purple) 50%),
    linear-gradient(135deg, var(--purple) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 24px,
    calc(100% - 18px) 24px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.checkbox input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
  padding: 0;
  border-radius: 6px;
}

.checkbox--dark {
  color: rgba(255, 255, 255, 0.9);
}

.form-status {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 0.94rem;
  font-weight: 700;
}

.form-status--success {
  color: #dff6ea;
}

.form-status--error {
  color: #fff0e8;
}

.footer-subscribe .form-status,
.site-footer .form-status {
  color: var(--muted);
}

.site-footer .form-status.form-status--success {
  color: var(--purple);
}

.site-footer .form-status.form-status--error {
  color: var(--orange-deep);
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  padding: 0 24px;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 24px 42px 24px 0;
  font-size: 1.08rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 0;
  font-size: 1.5rem;
  color: var(--purple);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 24px;
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pricing-grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 38px;
  color: #fff;
  background: var(--gradient-main);
  box-shadow: var(--shadow);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
}

.page-hero {
  padding-top: 26px;
}

.page-hero__copy {
  max-width: 760px;
}

.site-footer {
  margin-top: 46px;
  padding: 42px 0 52px;
  background: rgba(255, 255, 255, 0.84);
  border-top: 1px solid rgba(191, 107, 145, 0.12);
}

.footer-grid {
  grid-template-columns: 1.05fr 0.9fr 0.9fr 1.1fr;
  align-items: start;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-copy strong,
.brand-copy span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy span {
  font-weight: 700;
}

.brand--footer .brand-copy strong,
.brand--footer .brand-copy span {
  font-size: 0.8rem;
}

.footer-brand p,
.footer-contacts span,
.footer-contacts a,
.footer-links a,
.checkbox--footer {
  color: var(--muted);
}

.footer-brand p {
  margin: 16px 0 0;
  max-width: 30ch;
}

.footer-links,
.footer-contacts {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.footer-links a {
  font-weight: 800;
}

.footer-contacts strong {
  color: var(--text);
}

.footer-subscribe {
  display: grid;
  gap: 12px;
}

.checkbox--footer {
  margin-top: 16px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-placeholder,
  .background-orb {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .page-hero__grid,
  .lead-card,
  .cta-banner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-visual {
    grid-template-columns: minmax(232px, 0.9fr) minmax(260px, 1fr);
  }
}

@media (max-width: 940px) {
  body {
    padding-top: 108px;
  }

  .shell {
    width: min(100% - 32px, 1180px);
  }

  .shell.hero-grid {
    width: min(100% - 32px, 1416px);
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
  }

  .site-header__brand {
    flex: 1;
    min-width: 0;
    padding-top: 0;
  }

  .site-header__brand-part {
    white-space: normal;
  }

  .site-header__toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-header__menu {
    position: absolute;
    display: grid;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    gap: 18px;
    padding: 18px;
    background: rgba(255, 247, 250, 0.96);
    border: 1px solid rgba(191, 107, 145, 0.12);
    border-radius: 12px;
    box-shadow: 0 20px 44px rgba(48, 46, 48, 0.08);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .site-header__menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header__top-panel {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .site-header__meta,
  .site-header__nav {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .site-header__meta a,
  .site-header__nav a {
    justify-content: flex-start;
    padding: 12px 0;
    font-size: 1rem;
    text-align: left;
    white-space: normal;
  }

  .site-header__nav {
    justify-content: flex-start;
    padding-top: 16px;
  }

  .site-header__actions {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .site-header__join {
    flex: 1;
  }

  .hero-points,
  .speaker-grid,
  .stats-grid,
  .feature-grid--quad,
  .feature-grid--triple,
  .reason-grid,
  .launch-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .faq-grid,
  .audience-grid,
  .pricing-grid--dual {
    grid-template-columns: 1fr;
  }

  .section-head--inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    grid-template-columns: minmax(228px, 0.92fr) minmax(240px, 1fr);
  }

  .hero-panel {
    max-width: none;
  }

  .hero-placeholder {
    max-width: 290px;
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  body {
    padding-top: 102px;
  }

  .hero,
  .section,
  .page-hero {
    padding-block: 34px;
  }

  .hero {
    padding-top: 18px;
  }

  .shell {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: clamp(1.95rem, 10vw, 3.05rem);
  }

  .page-hero h1,
  .section-head h2,
  .lead-card__copy h2,
  .cta-banner h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-points,
  .speaker-grid,
  .stats-grid,
  .feature-grid--quad,
  .feature-grid--triple,
  .reason-grid,
  .launch-grid,
  .pricing-grid,
  .steps-grid,
  .carousel-track {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    grid-auto-columns: 100%;
    gap: 16px;
    padding-inline: 2px;
    scroll-padding-inline: 2px;
  }

  #community .section-head {
    margin-bottom: 20px;
  }

  #community .round-nav {
    display: none;
  }

  #community .carousel {
    overflow: visible;
  }

  #community .carousel-track {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 0;
    gap: 16px;
    scroll-snap-type: none;
  }

  #community .quote-card {
    width: 100%;
    min-width: 0;
    padding: 22px 18px;
  }

  #community .quote-card__person {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  #community .quote-card__person > div {
    min-width: 0;
  }

  #community .quote-card strong {
    font-size: 1.12rem;
    line-height: 1.08;
  }

  #community .quote-card__person span {
    margin-top: 6px;
    font-size: 0.98rem;
  }

  #community .quote-card p {
    margin-top: 16px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag-top"
      "panel"
      "media"
      "tag-bottom";
    gap: 18px;
    padding: 22px;
  }

  .hero-placeholder {
    position: relative;
    justify-self: stretch;
    align-self: start;
    width: 100%;
    max-width: none;
    min-height: 260px;
  }

  .hero-panel {
    max-width: 100%;
    padding: 22px;
  }

  .hero-tag {
    justify-self: start;
    font-size: 0.86rem;
  }

  .stat-card,
  .feature-card,
  .reason-card,
  .audience-card,
  .launch-card,
  .pricing-card,
  .product-card,
  .quote-card,
  .step-card,
  .page-hero__aside,
  .lead-card,
  .cta-banner {
    padding: 24px;
  }

  .lead-card {
    gap: 20px;
    padding-inline: 18px;
  }

  .lead-freebies {
    gap: 10px;
    align-items: stretch;
  }

  .lead-freebies .chip {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
    line-height: 1.3;
  }

  .lead-form {
    width: 100%;
    max-width: 100%;
    padding: 18px 16px;
  }

  .lead-form input,
  .lead-form select,
  .lead-form .button {
    max-width: 100%;
  }

  .lead-form .button {
    width: 100%;
  }

  .quote-card {
    padding: 22px;
  }

  .checkbox span {
    min-width: 0;
  }

  .cta-banner__actions {
    width: 100%;
  }
}

/* Content must remain visible even if scroll animation does not run. */
.reveal {
  opacity: 1;
  transform: none;
}

/* Product public layout fix */
.product-main {
  --product-ink: #102033;
  --product-muted: #526173;
  --product-line: rgba(16, 32, 51, 0.1);
  --product-teal: #0f766e;
  --product-pink: #dc5d89;
  color: var(--product-ink);
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(34% 42% at 12% 18%, rgba(15, 118, 110, 0.12), transparent 70%),
    radial-gradient(30% 36% at 86% 18%, rgba(220, 93, 137, 0.11), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 250, 252, 0));
}

.product-hero__grid,
.product-main .split-section {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 52px;
  align-items: center;
}

.product-hero__grid > *,
.product-main .split-section > * {
  min-width: 0;
}

.product-hero__grid .hero-panel {
  grid-area: auto;
  align-self: center;
}

.product-hero__copy {
  max-width: 760px;
}

.product-hero__copy h1,
.vacancy-detail-head h1 {
  max-width: 880px;
  color: var(--product-ink);
  font-size: clamp(2.45rem, 3.7vw, 4.15rem);
  line-height: 1.04;
  font-weight: 800;
}

.product-hero__lead {
  max-width: 66ch;
  color: var(--product-muted);
  font-size: clamp(1.02rem, 0.45vw + 0.94rem, 1.18rem);
  line-height: 1.65;
}

.product-main .eyebrow {
  color: #2b8aa1;
  letter-spacing: 0.12em;
}

.product-main .hero-panel,
.product-main .platform-hero-visual,
.product-main .scenario-card,
.product-main .action-card,
.product-main .offer-tile,
.product-main .comparison-grid article,
.product-main .audience-grid article,
.product-main .directory-grid article,
.product-main .material-grid article,
.product-main .detail-card,
.product-main .request-card,
.product-main .moderation-panel,
.product-main .vacancy-card-compact {
  border: 1px solid var(--product-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 62px rgba(16, 32, 51, 0.08);
}

.product-main .hero-panel {
  display: grid;
  gap: 14px;
  padding: 30px;
  color: var(--product-ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 254, 255, 0.92));
}

.product-main .hero-panel h2,
.product-main .hero-panel h3 {
  font-size: clamp(1.45rem, 1.4vw, 2rem);
}

.product-main .hero-panel p {
  margin: 0;
  color: var(--product-muted);
}

.product-main .platform-hero-visual {
  max-width: 560px;
  justify-self: end;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(16, 32, 51, 0.96), rgba(22, 71, 107, 0.94));
}

.product-main .mini-screen {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.14);
}

.product-main .mini-screen--clinic {
  margin-left: 44px;
}

.product-main .button {
  min-height: 50px;
  border-radius: 10px;
}

.product-main .button--violet,
.product-main .site-header__join {
  background: linear-gradient(135deg, #0f766e 0%, #145873 100%);
}

.product-main .button--orange {
  background: linear-gradient(135deg, #e58cab 0%, #dc5d89 100%);
}

.product-main .section-head h2,
.product-main .split-section h2,
.product-main .moderation-panel h2,
.product-main .final-cta h2 {
  color: var(--product-ink);
  font-size: clamp(1.85rem, 2.25vw, 2.8rem);
  line-height: 1.1;
}

.product-main .section-head p:not(.eyebrow),
.product-main .split-section p,
.product-main .moderation-panel p,
.product-main .final-cta p,
.product-main .action-card p,
.product-main .scenario-card p,
.product-main .offer-tile p,
.product-main .comparison-grid p,
.product-main .audience-grid p,
.product-main .directory-grid p,
.product-main .material-grid p,
.product-main .detail-card p,
.product-main .vacancy-card-compact p,
.product-main .note-text {
  color: var(--product-muted);
}

.product-main .action-grid--five {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.product-main .action-grid,
.product-main .directory-grid,
.product-main .vacancy-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-main .offer-strip,
.product-main .audience-grid,
.product-main .material-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.product-main .comparison-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-main .comparison-grid .is-strong {
  color: #fff;
  background: linear-gradient(135deg, #0f766e 0%, #145873 100%);
}

.product-main .comparison-grid .is-strong h3,
.product-main .comparison-grid .is-strong p {
  color: #fff;
}

.product-main .scenario-card {
  min-height: 0;
  align-content: start;
}

.product-main .scenario-card .button {
  align-self: end;
  width: fit-content;
}

.product-main .selector-board {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.product-main .catalog-filters {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.product-main .footer-grid--scenario {
  grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(140px, 0.8fr));
}

.product-main .final-cta h2,
.product-main .final-cta p {
  color: #fff;
}

.product-main .checkbox {
  color: var(--product-muted);
  font-weight: 600;
}

.product-main .checkbox span {
  display: inline;
  min-width: 0;
}

@media (max-width: 1180px) {
  .product-main .footer-grid--scenario {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .product-hero__grid,
  .product-main .split-section,
  .product-main .split-section--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-main .platform-hero-visual {
    justify-self: stretch;
    max-width: none;
  }

  .product-main .hero-panel {
    align-self: stretch;
  }
}

@media (max-width: 720px) {
  .product-hero {
    padding: 44px 0 52px;
  }

  .product-hero__copy h1,
  .vacancy-detail-head h1 {
    font-size: clamp(2rem, 8.4vw, 2.85rem);
    line-height: 1.08;
  }

  .product-hero__lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .product-main .mini-screen--clinic {
    margin-left: 0;
  }

  .product-main .footer-grid--scenario {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  #community .section-head h2 {
    font-size: clamp(1.85rem, 8.8vw, 2.7rem);
  }

  #community .quote-card {
    padding: 20px 16px;
  }

  #community .quote-card__person {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }

  .lead-card {
    padding: 18px 14px;
    border-radius: 30px;
  }

  .lead-form {
    padding: 14px;
    border-radius: 24px;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .cta-banner__actions {
    align-items: stretch;
  }

  .site-header__brand {
    gap: 8px;
  }

  .site-header__brand .brand-mark {
    width: 30px;
    height: 30px;
  }

  .site-header__brand-part {
    font-size: 0.78rem;
  }

  .brand-logo--header {
    max-width: 172px;
    height: 40px;
  }

  .brand-logo--footer {
    max-width: 180px;
    height: 44px;
  }

  .quote-card__person {
    align-items: flex-start;
  }

  .quote-card__person img {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 1180px) {
  .internship-segments,
  .internship-benefits,
  .internship-trust-grid,
  .internships-page .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internship-request {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  .internship-segments,
  .internship-directions,
  .internship-review-grid {
    grid-template-columns: 1fr;
  }

  .internship-request__form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .internships-page .page-hero h1 span {
    font-size: 0.62em;
  }

  .internship-hero-tags {
    gap: 10px;
  }

  .internship-hero-tags .chip {
    white-space: normal;
    text-align: left;
    justify-content: flex-start;
  }

  .internship-benefits,
  .internship-trust-grid,
  .internships-page .steps-grid {
    grid-template-columns: 1fr;
  }

  .internship-hero-aside,
  .internship-segment,
  .internship-benefit,
  .internship-direction,
  .internship-review,
  .internship-trust,
  .internship-request {
    padding: 24px;
  }

  .internship-request {
    gap: 22px;
  }

  .internship-direction__head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .internship-benefit__num,
  .internship-direction__num {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .internships-page .page-hero h1 span {
    font-size: 0.68em;
  }

  .internship-hero-aside,
  .internship-segment,
  .internship-benefit,
  .internship-direction,
  .internship-review,
  .internship-trust,
  .internship-request {
    padding: 20px 18px;
  }

  .internship-request__form textarea {
    min-height: 128px;
    border-radius: 20px;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(2%);
  }

  50% {
    transform: translateY(-2%);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(22px, -18px, 0);
  }
}

/* Medrazvitie visual refresh */
:root {
  --bg-main: #f4f8fb;
  --bg-lilac: #eef5fb;
  --bg-soft: rgba(255, 255, 255, 0.78);
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --panel-border: rgba(22, 91, 127, 0.12);
  --text: #0f172a;
  --muted: #64748b;
  --purple: #176b8f;
  --purple-dark: #0f4f6d;
  --purple-soft: rgba(23, 107, 143, 0.1);
  --orange: #3ab0d6;
  --orange-deep: #248fb7;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 14px 38px rgba(15, 23, 42, 0.07);
  --gradient-main: linear-gradient(135deg, #176b8f 0%, #3ab0d6 58%, #6d7ddf 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 247, 252, 0.86));
  --gradient-dark: radial-gradient(52% 60% at 52% 82%, rgba(58, 176, 214, 0.5), transparent 72%), radial-gradient(72% 86% at 8% 12%, rgba(23, 107, 143, 0.65), transparent 70%), #073947;
}

html {
  scroll-padding-top: 132px;
}

body {
  padding-top: 0;
  font-family: "Manrope", Inter, Arial, sans-serif;
  background:
    radial-gradient(42% 45% at 15% 10%, rgba(58, 176, 214, 0.18), transparent 70%),
    radial-gradient(38% 42% at 88% 14%, rgba(109, 125, 223, 0.14), transparent 72%),
    radial-gradient(40% 44% at 75% 82%, rgba(23, 107, 143, 0.10), transparent 72%),
    linear-gradient(135deg, #f7fbfe 0%, #eef5fb 50%, #f4f8fb 100%);
  overflow-x: hidden;
}

.background-orb {
  filter: blur(70px);
  opacity: 0.36;
}

.background-orb--left {
  top: 120px;
  left: -130px;
  width: 360px;
  height: 360px;
  background: #3ab0d6;
}

.background-orb--right {
  top: 180px;
  right: -140px;
  width: 360px;
  height: 360px;
  background: #6d7ddf;
}

.background-orb--center {
  bottom: -190px;
  left: 42%;
  width: 360px;
  height: 360px;
  background: #b7efe6;
}

.site-header {
  position: sticky;
  inset: auto;
  top: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.site-header .shell {
  width: 100%;
}

.site-header__inner {
  padding: 10px 12px 12px 18px;
  gap: 12px 24px;
  align-items: center;
}

.site-header__brand {
  padding-top: 0;
  color: var(--text);
}

.brand-logo--header {
  max-width: 214px;
  height: 48px;
}

.brand-logo--footer {
  max-width: 220px;
  height: 52px;
}

.site-header__top-panel {
  min-height: 40px;
}

.site-header__meta {
  gap: 22px;
}

.site-header__meta a,
.site-header__nav a {
  color: #334155;
}

.site-header__nav {
  gap: 20px;
  padding-top: 12px;
  border-top-color: rgba(22, 91, 127, 0.1);
}

.site-header__join,
.button--violet,
.button--orange {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 14px 30px rgba(23, 107, 143, 0.2);
}

.site-header__join:hover,
.button--violet:hover,
.button--orange:hover {
  background: linear-gradient(135deg, var(--orange-deep), var(--purple));
}

.button {
  min-height: 52px;
  border-radius: 999px;
  letter-spacing: 0;
}

.button--ghost,
.button--ghost-light {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--panel-border);
  box-shadow: none;
}

.card,
.lead-form,
.faq-item,
.quote-card,
.app-card {
  background: var(--panel);
  border-color: var(--panel-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.eyebrow,
.page-hero__aside-label,
.pricing-card__label,
.stat-label,
.speaker-role,
.text-link:hover {
  color: var(--purple);
}

.hero,
.section,
.page-hero {
  padding-block: 54px;
}

.landing-main > .section,
.landing-main > .section:nth-of-type(even) {
  background: transparent;
  box-shadow: none;
}

.hero h1,
.page-hero h1,
.section-head h2,
.lead-card__copy h2,
.cta-banner h2 {
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 0.96;
}

.hero-lead,
.page-hero__lead,
.section-head p,
.section-note,
.lead-card__copy p,
.cta-banner p {
  color: var(--muted);
}

.hero-visual {
  min-height: 520px;
  padding: 30px;
  border-radius: 40px;
  color: #fff;
  background: var(--gradient-dark);
  border: 0;
  box-shadow: var(--shadow);
}

.hero-visual__shape {
  display: none;
}

.hero-panel,
.hero-tag,
.page-hero__aside,
.lead-card,
.cta-banner {
  background: var(--gradient-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.hero-panel {
  color: var(--text);
  border-radius: 24px;
}

.hero-tag,
.chip {
  color: #17506c;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 107, 143, 0.12);
  backdrop-filter: blur(8px);
}

.chip--accent {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.hero-placeholder {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.34), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.feature-icon,
.internship-benefit__num,
.internship-direction__num,
.step-card__num {
  color: var(--purple);
  background: linear-gradient(135deg, rgba(58, 176, 214, 0.16), rgba(109, 125, 223, 0.12));
}

.step-card__num,
.internship-benefit__num {
  color: #fff;
  background: var(--gradient-main);
}

.meta-list li::before,
.check-list li::before,
.hero-panel__list li::before {
  background: var(--gradient-main);
}

.stat-value,
.pricing-card__value {
  color: var(--purple);
}

.lead-card,
.cta-banner {
  color: var(--text);
}

.lead-card__copy p,
.cta-banner p {
  color: var(--muted);
}

.lead-card .eyebrow--light,
.cta-banner .eyebrow--light {
  color: var(--purple);
}

.lead-freebies .chip--light {
  color: #17506c;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 107, 143, 0.12);
}

.lead-form {
  background: rgba(255, 255, 255, 0.76);
}

input,
select,
.internship-request__form textarea {
  border-color: rgba(23, 107, 143, 0.14);
}

input:focus,
select:focus,
.internship-request__form textarea:focus {
  border-color: rgba(23, 107, 143, 0.46);
  box-shadow: 0 0 0 4px rgba(23, 107, 143, 0.1);
}

.site-footer {
  background: rgba(255, 255, 255, 0.7);
  border-top-color: rgba(22, 91, 127, 0.1);
}

@media (max-width: 940px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  .site-header__inner {
    padding: 10px 12px;
  }

  .site-header__menu {
    border-color: rgba(22, 91, 127, 0.12);
    background: rgba(255, 255, 255, 0.94);
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.55rem);
  }

  .hero-visual {
    min-height: auto;
    padding: 22px;
    border-radius: 30px;
  }
}

@media (max-width: 560px) {
  .brand-logo--header {
    max-width: 172px;
    height: 40px;
  }

.brand-logo--footer {
  max-width: 180px;
  height: 44px;
}
}

.brand-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo--mark {
  width: 58px;
  height: 40px;
  max-width: none;
  flex: 0 0 auto;
}

.brand-title {
  color: #0f172a;
  font-family: "Manrope", Inter, Arial, sans-serif;
  font-size: clamp(1.15rem, 0.5vw + 1rem, 1.45rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.brand--footer .brand-logo-lockup {
  gap: 10px;
}

.brand--footer .brand-logo--mark {
  width: 54px;
  height: 36px;
}

.brand--footer .brand-title {
  font-size: 1.28rem;
}

@media (max-width: 560px) {
  .brand-logo-lockup {
    gap: 9px;
  }

  .brand-logo--mark {
    width: 48px;
    height: 32px;
  }

  .brand-title {
    font-size: 1.08rem;
  }
}

/* Header fit and calmer heading scale */
.site-header {
  width: min(1480px, calc(100% - 24px));
}

.site-header .shell {
  width: 100%;
}

.site-header__inner {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 20px;
  padding-inline: 18px 14px;
}

.site-header__nav {
  justify-content: flex-start;
  gap: 20px;
}

.site-header__nav a {
  font-size: 0.96rem;
  line-height: 1.05;
}

.site-header__meta {
  gap: 24px;
}

.site-header__join {
  padding-inline: 24px;
}

.brand-logo--mark {
  width: 58px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 50%;
}

.brand-title {
  font-size: clamp(1.08rem, 0.42vw + 0.94rem, 1.26rem);
  margin-left: 2px;
}

.hero h1 {
  max-width: 13.8ch;
  font-size: clamp(2.35rem, 4.7vw, 4rem);
  line-height: 0.99;
}

.page-hero h1,
.section-head h2,
.lead-card__copy h2,
.cta-banner h2 {
  font-size: clamp(2rem, 3.8vw, 3.55rem);
  line-height: 1;
}

@media (max-width: 1180px) {
  .site-header__nav {
    gap: 14px;
  }

  .site-header__nav a {
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .page-hero h1,
  .section-head h2,
  .lead-card__copy h2,
  .cta-banner h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.75rem);
  }
}

.hero-visual--doctor {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "media";
  place-items: center;
  min-height: 520px;
  padding: 0;
  overflow: visible;
  isolation: isolate;
  color: var(--text);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-doctor-image {
  grid-area: media;
  z-index: 2;
  align-self: end;
  width: min(88%, 520px);
  max-height: 560px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 34px rgba(15, 23, 42, 0.12));
}

@media (max-width: 940px) {
  .hero-visual--doctor {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .hero-visual--doctor {
    min-height: 420px;
    padding-top: 18px;
  }

  .hero-doctor-image {
    width: min(92%, 340px);
    max-height: 400px;
  }
}

/* Professional composition pass */
.background-orb {
  display: none;
}

body {
  background:
    radial-gradient(46% 42% at 8% 8%, rgba(58, 176, 214, 0.14), transparent 68%),
    radial-gradient(36% 38% at 94% 18%, rgba(109, 125, 223, 0.10), transparent 70%),
    linear-gradient(180deg, #f7fbfe 0%, #eef6fb 42%, #f8fbfd 100%);
  background-size: auto;
}

.site-header {
  width: min(1360px, calc(100% - 40px));
  border-radius: 20px;
}

.site-header__inner {
  padding: 10px 14px 12px 18px;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 10px 22px;
}

.site-header__nav {
  justify-content: center;
  gap: 24px;
}

.site-header__nav a {
  font-size: 0.94rem;
  font-weight: 800;
}

.site-header__top-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
}

.site-header__meta {
  justify-content: center;
}

.site-header__actions {
  justify-content: flex-end;
}

.landing-main > .hero {
  padding-top: 64px;
}

.landing-main > .section {
  background: transparent;
}

.landing-main > .section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.18));
  border-block: 1px solid rgba(22, 91, 127, 0.06);
}

.landing-main > .section:nth-of-type(odd) {
  position: relative;
}

.landing-main > .section:nth-of-type(odd)::before {
  content: "";
  position: absolute;
  inset: 18px max(24px, calc((100% - 1240px) / 2)) 18px;
  z-index: -1;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
  gap: 46px;
  align-items: end;
}

.hero-copy {
  max-width: 660px;
}

.hero h1 {
  max-width: 11.4ch;
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 560px;
  font-size: 1.08rem;
}

.hero-actions {
  gap: 12px;
  margin-top: 26px;
}

.hero-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-top: 26px;
}

.hero-point {
  padding: 18px;
  border-radius: 18px;
}

.hero-point h2 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.hero-point p {
  font-size: 0.92rem;
  line-height: 1.4;
}

.hero-visual--doctor {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  min-height: 540px;
  padding: 42px 20px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-visual--doctor::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 18px;
  left: 50%;
  width: min(88%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.42), transparent 36%),
    rgba(207, 233, 248, 0.45);
  filter: blur(2px);
  transform: translateX(-50%);
}

.hero-visual--doctor::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 62px;
  right: 11%;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(130, 207, 236, 0.42);
  box-shadow: 0 18px 42px rgba(23, 107, 143, 0.08);
}

.hero-visual-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(23, 107, 143, 0.08);
  border-radius: 999px;
  color: #17506c;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-visual-badge--top {
  top: 106px;
  left: 2%;
}

.hero-visual-badge--bottom {
  right: 3%;
  bottom: 110px;
}

.hero-visual-dot {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: rgba(165, 181, 232, 0.42);
}

.hero-visual-dot--left {
  left: 11%;
  bottom: 92px;
  width: 38px;
  aspect-ratio: 1;
}

.hero-doctor-frame {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(84%, 520px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.5), transparent 34%),
    linear-gradient(145deg, rgba(208, 235, 251, 0.96), rgba(229, 245, 255, 0.86));
  box-shadow: 0 30px 90px rgba(23, 107, 143, 0.13);
}

.hero-doctor-image {
  width: 78%;
  max-height: 94%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 28px rgba(15, 23, 42, 0.08));
}

.section {
  padding-block: 42px;
}

.site-header__nav a.is-active {
  color: #17506c;
  background: rgba(23, 107, 143, 0.09);
}

.page-hero--compact {
  padding-top: 44px;
  padding-bottom: 12px;
}

.page-hero__grid--single {
  display: block;
}

.section--vacancies {
  padding-top: 20px;
}

.med-empty-state {
  position: relative;
  min-height: 190px;
  overflow: hidden;
}

.med-card {
  max-width: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(28, 92, 122, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.06);
}

.med-card + .med-card {
  margin-top: 18px;
}

.med-vacancies {
  display: grid;
  gap: 18px;
}

.med-vacancy h2,
.med-vacancy h3 {
  margin-top: 0;
}

.med-vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.med-vacancy-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #17506c;
  background: rgba(23, 107, 143, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
}

.med-muted {
  color: #667085;
}

.med-company {
  display: grid;
  gap: 8px;
  margin: 14px 0 22px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(23, 107, 143, 0.06);
}

.med-company p {
  margin: 0;
}

.med-company__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #17506c;
  font-size: 0.92rem;
  font-weight: 800;
}

.med-company-card {
  display: grid;
  gap: 10px;
}

.med-company-card h2,
.med-company-card p {
  margin: 0;
}

.med-card {
  max-width: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(28, 92, 122, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.06);
}

.med-card + .med-card {
  margin-top: 18px;
}

.med-vacancies {
  display: grid;
  gap: 18px;
}

.med-vacancy h2,
.med-vacancy h3 {
  margin-top: 0;
}

.med-vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.med-vacancy-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #17506c;
  background: rgba(23, 107, 143, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
}

.med-muted {
  color: #667085;
}

.med-empty-state::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(207, 233, 248, 0.72);
}

.med-empty-state__mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #17506c;
  background: rgba(23, 107, 143, 0.08);
  font-weight: 900;
}

.med-empty-state h2 {
  position: relative;
  z-index: 1;
}

.section-head {
  display: block;
  margin-bottom: 20px;
}

.section-head h2 {
  max-width: 720px;
  font-size: clamp(1.9rem, 3.4vw, 3.05rem);
  margin-top: 0;
}

.section-head p {
  max-width: 38ch;
  font-size: 0.98rem;
  margin-top: 14px;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-head--inline {
  display: flex;
}

.card,
.feature-card,
.reason-card,
.audience-card,
.launch-card,
.pricing-card,
.product-card,
.step-card,
.quote-card,
.stat-card {
  border-radius: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 22px;
}

.stat-value {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.stat-copy {
  display: none;
}

.feature-card,
.reason-card,
.audience-card,
.launch-card,
.product-card,
.pricing-card,
.step-card {
  padding: 24px;
}

.feature-card p,
.reason-card p,
.audience-card p,
.launch-card p,
.product-card p,
.step-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#experts,
#why-us,
#faq,
#pricing {
  display: none;
}

#platform .feature-grid {
  gap: 16px;
}

#tracks .audience-grid,
#tracks .launch-grid {
  gap: 16px;
}

#community .section-head h2 {
  max-width: 680px;
}

.carousel-track {
  gap: 16px;
}

.quote-card {
  padding: 22px;
}

.lead-card {
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.28fr);
  gap: 22px;
  padding: 30px;
  border-radius: 22px;
}

.lead-card__copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.lead-card__copy p,
.lead-freebies {
  display: none;
}

.lead-form {
  padding: 18px;
  border-radius: 18px;
}

.site-footer {
  margin-top: 22px;
}

@media (max-width: 1180px) {
  .hero-grid,
  .lead-card {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-header__nav {
    justify-content: flex-start;
    gap: 16px;
  }

  .site-header__top-panel {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 940px) {
  .hero-points,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .landing-main > .hero {
    padding-top: 36px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .hero-points,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-doctor-frame {
    width: min(88%, 330px);
  }

  .hero-doctor-image {
    width: 80%;
  }

  .hero-visual--doctor {
    min-height: 390px;
    padding-top: 20px;
  }

  .hero-visual--doctor::before {
    top: 18px;
    width: min(94%, 360px);
  }

  .hero-visual--doctor::after {
    top: 34px;
    right: 7%;
    width: 48px;
  }

  .hero-visual-badge {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .hero-visual-badge--top {
    top: 58px;
    left: 0;
  }

  .hero-visual-badge--bottom {
    right: 0;
    bottom: 70px;
  }

  .hero-visual-dot--left {
    left: 7%;
    bottom: 68px;
    width: 30px;
  }
}

/* Product-first hero refresh */
body {
  padding-top: 112px;
  background:
    linear-gradient(135deg, rgba(220, 244, 248, 0.86) 0%, rgba(247, 251, 255, 0.9) 42%, rgba(235, 242, 255, 0.92) 100%),
    #f6fbfd;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  right: auto;
  margin: 0;
  transform: translateX(-50%);
  border: 1px solid rgba(28, 92, 122, 0.08);
  box-shadow: 0 24px 52px rgba(16, 24, 40, 0.08);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 11px 14px 11px 18px;
}

.site-header__brand {
  padding-top: 0;
}

.site-header__menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-column: 2;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.site-header__nav {
  grid-column: auto;
  justify-content: center;
  gap: 38px;
  padding-top: 0;
  border-top: 0;
  overflow: visible;
}

.site-header__nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.98rem;
  letter-spacing: 0;
  color: #243447;
}

.site-header__actions {
  justify-content: flex-end;
}

.site-header__join {
  min-height: 42px;
  padding: 9px 24px;
  background: linear-gradient(135deg, #1d7896 0%, #145873 100%);
  box-shadow: 0 14px 28px rgba(20, 88, 115, 0.2);
}

.landing-main > .hero {
  padding-top: 24px;
  background:
    linear-gradient(145deg, rgba(235, 249, 250, 0.56), rgba(246, 250, 255, 0) 62%);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(430px, 1.02fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.15rem, 3.45vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 span {
  color: #1a7898;
}

.hero-lead {
  max-width: 62ch;
  color: #526477;
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.12rem);
}

.hero-actions {
  margin-top: 28px;
  gap: 18px;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #526477;
  font-weight: 800;
  border-bottom: 1px solid rgba(20, 88, 115, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-secondary-link:hover {
  color: #145873;
  border-color: rgba(20, 88, 115, 0.55);
}

.hero-flow {
  margin: 18px 0 0;
  color: #17506c;
  font-size: 0.98rem;
  font-weight: 800;
}

.hero-points {
  gap: 14px;
  margin-top: 26px;
}

.hero-point {
  min-height: 150px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(28, 92, 122, 0.1);
  box-shadow: 0 20px 44px rgba(16, 24, 40, 0.08);
}

.hero-point h2 {
  margin-bottom: 9px;
  color: #145873;
  font-size: 1.08rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-point p {
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero-visual--product {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: none;
  gap: 18px;
  align-content: center;
  min-height: auto;
  padding: 24px;
  overflow: visible;
  isolation: isolate;
  border: 1px solid rgba(28, 92, 122, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(232, 249, 247, 0.94) 0%, rgba(245, 250, 255, 0.96) 54%, rgba(233, 240, 255, 0.9) 100%);
  box-shadow: 0 32px 90px rgba(16, 24, 40, 0.12);
}

.product-window,
.hero-case-card,
.partners-strip,
.partner-logos span {
  border-radius: 8px;
}

.product-window {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 92, 122, 0.1);
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.13);
}

.product-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  color: #475569;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(28, 92, 122, 0.08);
}

.product-window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9fd5df;
}

.product-window__bar span:nth-child(2) {
  background: #b8c7f5;
}

.product-window__bar span:nth-child(3) {
  background: #b7e3c8;
}

.product-window__bar strong {
  margin-left: 8px;
  font-size: 0.92rem;
}

.product-window__body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 336px;
}

.product-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 16px;
  background: linear-gradient(180deg, rgba(232, 249, 247, 0.62), rgba(246, 250, 255, 0.88));
  border-right: 1px solid rgba(28, 92, 122, 0.08);
}

.product-sidebar strong {
  color: #145873;
  font-size: 0.88rem;
}

.product-sidebar span {
  display: block;
  padding: 9px 10px;
  color: #526477;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(28, 92, 122, 0.07);
  border-radius: 8px;
}

.product-feed {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.product-feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-feed__head span {
  display: block;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.product-feed__head strong {
  display: block;
  margin-top: 3px;
  color: #0f172a;
  font-size: 1.15rem;
  line-height: 1.2;
}

.product-feed__head a {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #145873;
  font-size: 0.84rem;
  font-weight: 800;
  background: rgba(20, 88, 115, 0.08);
  border-radius: 8px;
}

.dashboard-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(28, 92, 122, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.07);
}

.dashboard-card--accent {
  background: linear-gradient(135deg, rgba(232, 249, 247, 0.78), rgba(255, 255, 255, 0.96));
}

.dashboard-card__head,
.dashboard-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dashboard-card__head {
  justify-content: space-between;
}

.dashboard-card__head span,
.dashboard-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #17506c;
  background: rgba(20, 88, 115, 0.08);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-card__head strong {
  color: #0f766e;
  font-size: 0.9rem;
}

.dashboard-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.dashboard-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.hero-case-card {
  position: absolute;
  right: 36px;
  bottom: -30px;
  justify-self: end;
  max-width: 410px;
  margin-right: 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(28, 92, 122, 0.1);
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.12);
}

.hero-case-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #1a7898;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-case-card strong {
  display: block;
  color: #0f172a;
  line-height: 1.25;
}

.hero-case-card p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.92rem;
}

.section--partners {
  padding-block: 8px 24px;
  background: transparent !important;
  box-shadow: none !important;
}

.partners-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(28, 92, 122, 0.09);
  box-shadow: 0 20px 44px rgba(16, 24, 40, 0.07);
}

.partners-strip .eyebrow {
  margin: 0;
  color: #17506c;
  white-space: nowrap;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.partner-logos span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 12px;
  color: #526477;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(238, 247, 249, 0.9));
  border: 1px solid rgba(28, 92, 122, 0.08);
}

#numbers {
  padding-top: 32px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  border-radius: 8px;
  border-color: rgba(28, 92, 122, 0.1);
  background: rgba(255, 255, 255, 0.84);
}

.stat-value {
  color: #1a7898;
  letter-spacing: 0;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual--product {
    min-height: auto;
  }
}

@media (max-width: 940px) {
  body {
    padding-top: 92px;
  }

  .site-header {
    top: 10px;
    width: min(100% - 24px, 1360px);
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .site-header__menu {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(28, 92, 122, 0.1);
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(16, 24, 40, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .site-header__menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header__nav {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .site-header__nav a {
    justify-content: flex-start;
    padding: 12px 10px;
    white-space: normal;
  }

  .site-header__actions {
    width: 100%;
    justify-content: space-between;
  }

  .site-header__join {
    flex: 1;
  }

  .product-window__body {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(28, 92, 122, 0.08);
  }

  .product-sidebar strong {
    grid-column: 1 / -1;
  }

  .partners-strip {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .landing-main > .hero {
    padding-top: 24px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8.8vw, 3rem);
  }

  .hero-points,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual--product {
    padding: 16px;
  }

  .product-window__bar strong {
    font-size: 0.82rem;
  }

  .product-sidebar {
    grid-template-columns: 1fr;
  }

  .product-feed {
    padding: 16px;
  }

  .product-feed__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-case-card {
    justify-self: stretch;
    max-width: none;
    margin-right: 0;
  }

  .partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Marketplace direction refresh */
body {
  background:
    radial-gradient(48% 42% at 0% 10%, rgba(37, 180, 165, 0.18), transparent 68%),
    radial-gradient(36% 34% at 95% 4%, rgba(245, 131, 96, 0.18), transparent 70%),
    radial-gradient(44% 44% at 84% 78%, rgba(91, 107, 231, 0.13), transparent 72%),
    linear-gradient(135deg, #f5fbf9 0%, #eef8fb 38%, #f7f2ff 72%, #fff7f0 100%);
}

.landing-main > .hero {
  padding-bottom: 46px;
}

.hero-grid {
  gap: 56px;
}

.hero h1 {
  max-width: 18ch;
  color: #111827;
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 0.98;
}

.hero-lead {
  max-width: 44ch;
  color: #46586b;
  font-size: clamp(1.08rem, 0.5vw + 0.96rem, 1.24rem);
}

.button--violet,
.site-header__join {
  background: linear-gradient(135deg, #0b7f91 0%, #16476b 100%);
  box-shadow: 0 18px 36px rgba(11, 127, 145, 0.22);
}

.button--orange {
  background: linear-gradient(135deg, #ff8a63 0%, #dc5d89 100%);
  box-shadow: 0 18px 36px rgba(220, 93, 137, 0.22);
}

.hero-visual--product {
  background:
    linear-gradient(145deg, rgba(235, 255, 250, 0.92), rgba(246, 245, 255, 0.94) 48%, rgba(255, 244, 235, 0.94));
  box-shadow: 0 34px 92px rgba(31, 41, 55, 0.16);
}

.product-window {
  transform: rotate(-0.35deg);
}

.hero-case-card {
  transform: translateY(-8px) rotate(0.45deg);
}

.landing-main > .section {
  padding-block: 54px;
  background: transparent;
}

.landing-main > .section:nth-of-type(even),
.landing-main > .section:nth-of-type(odd) {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.landing-main > .section:nth-of-type(odd)::before {
  content: none;
}

.marketplace-head h2 {
  max-width: 780px;
  color: #101828;
  font-size: clamp(1.9rem, 3vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.marketplace-head p:not(.eyebrow) {
  max-width: 48ch;
}

.market-stats,
.market-product-grid,
.offer-grid,
.clinic-grid,
.recommend-grid {
  display: grid;
  gap: 18px;
}

.market-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-stat {
  min-height: 188px;
  padding: 26px;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(236, 252, 249, 0.84));
  border-color: rgba(16, 89, 116, 0.1);
  box-shadow: 0 24px 54px rgba(16, 24, 40, 0.09);
}

.market-stat strong {
  display: block;
  color: #0b7f91;
  font-size: clamp(3.25rem, 5.4vw, 5.25rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.market-stat span {
  display: block;
  margin-top: 18px;
  color: #16476b;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.22;
  text-transform: uppercase;
}

.market-product-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.market-product,
.offer-card,
.clinic-card,
.recommend-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(16, 89, 116, 0.1);
  box-shadow: 0 22px 56px rgba(16, 24, 40, 0.09);
}

.market-product--primary {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(12, 126, 146, 0.98), rgba(23, 70, 109, 0.98));
  box-shadow: 0 28px 68px rgba(12, 126, 146, 0.2);
}

.market-product__top,
.offer-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.market-product__top span,
.offer-card__type,
.clinic-card span,
.recommend-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #0b7f91;
  background: rgba(11, 127, 145, 0.1);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market-product--primary .market-product__top span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.market-product__top strong {
  font-size: 1rem;
  white-space: nowrap;
}

.market-product h3,
.offer-card h3,
.clinic-card h3 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.market-product p,
.offer-card p,
.clinic-card p,
.recommend-card p {
  margin: 0;
  color: #5e6f83;
}

.market-product--primary p {
  color: rgba(255, 255, 255, 0.78);
}

.market-product ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 2px 0 6px;
  list-style: none;
}

.market-product li {
  position: relative;
  padding-left: 18px;
  color: #46586b;
  font-weight: 700;
}

.market-product li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff8a63;
}

.market-product--primary li {
  color: rgba(255, 255, 255, 0.88);
}

.market-product .button {
  width: fit-content;
  margin-top: auto;
}

.offer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-card {
  min-height: 310px;
}

.offer-card__type--job {
  color: #b2456f;
  background: rgba(220, 93, 137, 0.11);
}

.offer-card__place {
  font-weight: 800;
}

.offer-card__meta {
  justify-content: flex-start;
  gap: 8px;
}

.offer-card__meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #46586b;
  background: rgba(16, 89, 116, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
}

.offer-card strong {
  margin-top: auto;
  color: #0b7f91;
  font-size: 1.45rem;
  line-height: 1;
}

.offer-card a,
.recommend-card strong {
  color: #101828;
  font-weight: 900;
}

.offer-card a {
  width: fit-content;
  color: #16476b;
  border-bottom: 1px solid rgba(22, 71, 107, 0.26);
}

.clinic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clinic-card {
  min-height: 230px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
}

.clinic-card strong {
  margin-top: auto;
  color: #dc5d89;
  font-size: 1rem;
}

.recommend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recommend-card {
  min-height: 176px;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recommend-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(16, 24, 40, 0.12);
}

.recommend-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.18;
}

.pain-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #0f766e 0%, #16476b 52%, #dc5d89 100%);
  box-shadow: 0 32px 82px rgba(16, 24, 40, 0.2);
}

.pain-banner h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.pain-banner p:not(.eyebrow) {
  max-width: 70ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

@media (max-width: 1180px) {
  .market-stats,
  .offer-grid,
  .clinic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-case-card {
    position: static;
    max-width: 430px;
    transform: none;
  }

  .market-product-grid {
    grid-template-columns: 1fr;
  }

  .pain-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  .section-head--inline.marketplace-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .recommend-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }

  .market-stats,
  .offer-grid,
  .clinic-grid {
    grid-template-columns: 1fr;
  }

  .market-stat {
    min-height: 150px;
  }

  .market-stat strong {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .market-product,
  .offer-card,
  .clinic-card,
  .recommend-card {
    padding: 22px;
  }

  .pain-banner {
    padding: 26px;
  }
}

/* Brand lockup refresh */
.site-header__brand { text-decoration: none; }
.brand-logo-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark-frame { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 46px; overflow: hidden; border: 1px solid rgba(10, 160, 165, 0.16); border-radius: 15px; background: radial-gradient(circle at 24% 24%, rgba(255,255,255,0.95), rgba(255,255,255,0) 38%), linear-gradient(135deg, rgba(219,253,250,0.96), rgba(236,246,255,0.94)); box-shadow: 0 12px 30px rgba(15,118,138,0.14); }
.brand-mark-frame .brand-logo--mark { width: 72px; height: 72px; max-width: none; flex: 0 0 auto; border-radius: 0; object-fit: contain; object-position: 50% 50%; transform: scale(2.35); transform-origin: 50% 50%; }
.brand-copy { display: grid; gap: 1px; min-width: 0; }
.brand-title { color: #0f172a; font-family: "Manrope", Inter, Arial, sans-serif; font-size: clamp(1.14rem, 0.42vw + 0.98rem, 1.32rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; text-transform: none; white-space: nowrap; }
.brand-subtitle { color: rgba(51,65,85,0.76); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.11em; line-height: 1.05; text-transform: uppercase; white-space: nowrap; }
.brand--footer .brand-mark-frame { width: 44px; height: 44px; flex-basis: 44px; }
.brand--footer .brand-title { font-size: 1.24rem; }
@media (max-width: 560px) { .brand-logo-lockup { gap: 9px; } .brand-mark-frame { width: 40px; height: 40px; flex-basis: 40px; border-radius: 13px; } .brand-mark-frame .brand-logo--mark { width: 64px; height: 64px; } .brand-title { font-size: 1.08rem; } .brand-subtitle { display: none; } }

/* Product public refresh */
.product-main {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 44%, #f7fbfb 100%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.site-header__brand {
  padding-top: 0;
}

.site-header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-width: 0;
  flex: 1;
}

.site-header__nav {
  grid-column: auto;
  justify-content: flex-start;
  gap: 18px;
  padding-top: 0;
  border-top: 0;
  overflow: visible;
}

.site-header__nav a {
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.site-header__actions {
  gap: 10px;
}

.site-header__login,
.site-header__join {
  min-height: 42px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.site-header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: #0f172a;
  font-weight: 800;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
}

.site-header__join {
  padding: 10px 18px;
  background: #0f766e;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.16);
}

.site-header__join--secondary {
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: none;
}

.product-hero,
.product-section {
  padding: 72px 0;
}

.product-hero {
  padding-top: 54px;
}

.product-hero--compact {
  padding-bottom: 40px;
}

.product-hero__grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
}

.split-section--reverse {
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
}

.product-hero__copy h1,
.vacancy-detail-head h1 {
  max-width: 900px;
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.product-hero__lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #475569;
  font-size: clamp(1.04rem, 0.7vw + 0.9rem, 1.24rem);
}

.product-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.product-hero .hero-actions {
  margin-top: 30px;
}

.button {
  border-radius: 8px;
}

.button--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.button--violet {
  background: #0f766e;
}

.button--orange {
  background: #dc5d89;
}

.platform-hero-visual,
.hero-panel,
.scenario-card,
.action-card,
.offer-tile,
.comparison-grid article,
.audience-grid article,
.directory-grid article,
.material-grid article,
.detail-card,
.request-card,
.moderation-panel,
.vacancy-card-compact {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.platform-hero-visual {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #0f172a;
}

.mini-screen {
  padding: 22px;
  border-radius: 8px;
  color: #0f172a;
  background: #f8fafc;
}

.mini-screen--clinic {
  margin-left: 54px;
  background: #ecfeff;
}

.mini-screen span,
.hero-panel span,
.directory-grid article span,
.material-grid article span,
.offer-tile span,
.feature-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(15, 118, 110, 0.1);
}

.mini-screen h2,
.hero-panel h2,
.hero-panel h3,
.scenario-card h3,
.action-card h3,
.offer-tile h3,
.step-list h3,
.comparison-grid h3,
.audience-grid h3,
.directory-grid h3,
.material-grid h3,
.detail-card h2,
.detail-card h3,
.vacancy-card-compact h3 {
  margin: 0;
  color: #0f172a;
  letter-spacing: 0;
  line-height: 1.16;
}

.mini-screen dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.mini-screen dl div,
.vacancy-card-compact__facts,
.vacancy-card-compact__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mini-screen dt {
  color: #64748b;
  font-size: 0.85rem;
}

.mini-screen dd {
  margin: 0;
  font-weight: 900;
}

.product-section--soft {
  background: rgba(241, 245, 249, 0.72);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head h2,
.split-section h2,
.moderation-panel h2,
.final-cta h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.9rem, 2.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.split-section p,
.moderation-panel p,
.final-cta p,
.hero-panel p,
.action-card p,
.scenario-card p,
.offer-tile p,
.comparison-grid p,
.audience-grid p,
.directory-grid p,
.material-grid p,
.detail-card p,
.vacancy-card-compact p,
.note-text {
  color: #475569;
}

.section-head--inline {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.scenario-grid,
.action-grid,
.offer-strip,
.comparison-grid,
.audience-grid,
.directory-grid,
.material-grid,
.vacancy-card-grid {
  display: grid;
  gap: 18px;
}

.scenario-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-grid,
.directory-grid,
.vacancy-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.action-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.offer-strip,
.audience-grid,
.material-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.comparison-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scenario-card,
.action-card,
.offer-tile,
.comparison-grid article,
.audience-grid article,
.directory-grid article,
.material-grid article,
.detail-card,
.vacancy-card-compact,
.hero-panel {
  padding: 24px;
}

.scenario-card {
  display: grid;
  gap: 18px;
  min-height: 430px;
}

.scenario-card--clinic {
  background: #f8fbff;
}

.scenario-card__label {
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 18px;
  color: #334155;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0f766e;
}

.action-card,
.offer-tile,
.directory-grid article,
.material-grid article {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 220px;
}

.step-list {
  display: grid;
  gap: 14px;
}

.step-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
}

.step-list span {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: #0f766e;
}

.step-list p {
  margin: 0;
}

.comparison-grid .is-strong {
  color: #fff;
  background: #0f766e;
}

.comparison-grid .is-strong h3,
.comparison-grid .is-strong p {
  color: #fff;
}

.moderation-panel,
.request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
}

.request-card {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  align-items: start;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.tag-cloud span,
.tag-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #0f172a;
  font-weight: 800;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.tag-cloud--wide span {
  min-height: 54px;
  padding: 14px 18px;
}

.final-cta {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 44px;
  text-align: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f766e 0%, #16476b 100%);
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.selector-board,
.catalog-filters {
  display: grid;
  gap: 14px;
}

.selector-board {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.selector-board div {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
}

.selector-board strong,
.selector-board span {
  display: block;
}

.selector-board span {
  margin-top: 8px;
  color: #475569;
}

.catalog-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
}

.catalog-filters label,
.app-field {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 800;
}

.catalog-filters input,
.catalog-filters select,
.app-field input,
.app-field select,
.app-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #fff;
}

.catalog-filters textarea,
.app-field textarea {
  resize: vertical;
}

.catalog-filters__actions {
  display: flex;
  gap: 10px;
  align-items: end;
}

.result-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 10px 0 20px;
}

.result-head h2 {
  margin: 0;
  font-size: 1.3rem;
}

.vacancy-card-compact {
  display: grid;
  gap: 14px;
  align-content: start;
}

.vacancy-card-compact__meta span,
.vacancy-card-compact__facts span {
  display: inline-flex;
  padding: 7px 9px;
  border-radius: 999px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
  background: #f1f5f9;
}

.vacancy-card-compact__org {
  margin: 0;
  font-weight: 900;
}

.vacancy-detail-head {
  display: grid;
  gap: 18px;
}

.vacancy-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  min-height: 240px;
}

.app-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.app-field--full {
  margin-top: 16px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox input {
  margin-top: 0.25em;
}

.internship-request__checkbox {
  margin-top: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: #0f172a;
}

.footer-grid--scenario {
  grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(140px, 0.8fr));
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column strong {
  color: #0f172a;
}

.note-text {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.08);
}

@media (max-width: 1180px) {
  .action-grid,
  .action-grid--five,
  .directory-grid,
  .vacancy-card-grid,
  .offer-strip,
  .audience-grid,
  .material-grid,
  .selector-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid--scenario {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  body {
    padding-top: 86px;
  }

  .site-header__inner {
    display: flex;
    align-items: center;
  }

  .site-header__toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  }

  .site-header__menu.is-open {
    display: flex;
  }

  .site-header__nav,
  .site-header__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header__nav a,
  .site-header__login,
  .site-header__join {
    justify-content: center;
    width: 100%;
  }

  .product-hero__grid,
  .split-section,
  .split-section--reverse,
  .moderation-panel,
  .request-card,
  .vacancy-detail-grid {
    grid-template-columns: 1fr;
  }

  .section-head--inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .product-hero,
  .product-section {
    padding: 48px 0;
  }

  .product-hero__copy h1,
  .vacancy-detail-head h1 {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
  }

  .scenario-grid,
  .action-grid,
  .action-grid--five,
  .directory-grid,
  .vacancy-card-grid,
  .offer-strip,
  .audience-grid,
  .material-grid,
  .comparison-grid,
  .selector-board,
  .catalog-filters,
  .app-form-grid,
  .footer-grid--scenario {
    grid-template-columns: 1fr;
  }

  .mini-screen--clinic {
    margin-left: 0;
  }

  .scenario-card {
    min-height: 0;
  }

  .final-cta,
  .request-card,
  .moderation-panel {
    padding: 24px;
  }
}

/* Final product overrides: keep the new public pages isolated from legacy landing styles. */
.product-hero__grid,
.product-main .split-section {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 52px;
  align-items: center;
}

.product-hero__grid > *,
.product-main .split-section > * {
  min-width: 0;
}

.product-hero__grid .hero-panel {
  grid-area: auto;
}

.product-hero__copy {
  max-width: 760px;
}

.product-hero__copy h1,
.vacancy-detail-head h1 {
  max-width: 880px;
  color: #102033;
  font-size: clamp(2.45rem, 3.7vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.product-hero__lead {
  max-width: 66ch;
  color: #526173;
  font-size: clamp(1.02rem, 0.45vw + 0.94rem, 1.18rem);
  line-height: 1.65;
}

.product-main .hero-panel {
  grid-area: auto;
  display: grid;
  gap: 14px;
  padding: 30px;
  border-radius: 12px;
  color: #102033;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 254, 255, 0.92));
}

.product-main .comparison-grid .is-strong {
  color: #fff;
  background: linear-gradient(135deg, #0f766e 0%, #145873 100%);
}

.product-main .comparison-grid .is-strong h3,
.product-main .comparison-grid .is-strong p,
.product-main .final-cta h2,
.product-main .final-cta p {
  color: #fff;
}

.product-main .checkbox {
  color: #526173;
  font-weight: 600;
}

.product-main .checkbox span {
  display: inline;
  min-width: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 940px) {
  .product-hero__grid,
  .product-main .split-section,
  .product-main .split-section--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .product-hero__copy h1,
  .vacancy-detail-head h1 {
    font-size: clamp(2rem, 8.4vw, 2.85rem);
    line-height: 1.08;
  }
}

/* Product layout repair after local merge: one predictable scale for the new public pages. */
.product-main {
  background: linear-gradient(180deg, #f8fbfd 0%, #fff 48%, #f7fbfb 100%);
}

.product-main .shell {
  width: min(1180px, calc(100% - 48px));
}

.product-main .product-hero {
  padding: 54px 0 64px;
}

.product-main .product-section {
  padding: 56px 0;
}

.product-main .product-section--soft {
  padding: 56px 0;
  background: rgba(241, 247, 249, 0.82);
}

.product-main .product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.product-main .product-hero__copy {
  width: 100%;
  max-width: 720px;
}

.product-main .product-hero__copy h1,
.product-main .vacancy-detail-head h1 {
  max-width: 13.5ch;
  margin: 0;
  color: #101827;
  font-size: clamp(2.6rem, 4.25vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.product-main .product-hero__lead {
  max-width: 58ch;
  margin-top: 22px;
  color: #475569;
  font-size: clamp(1rem, 0.45vw + 0.92rem, 1.15rem);
  line-height: 1.55;
}

.product-main .hero-actions {
  margin-top: 28px;
}

.product-main .section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.product-main .section-head h2,
.product-main .split-section h2,
.product-main .moderation-panel h2,
.product-main .final-cta h2 {
  max-width: 16ch;
  font-size: clamp(1.9rem, 2.65vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.product-main .section-head--inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.product-main .section-actions {
  justify-content: flex-end;
}

.product-main .scenario-grid,
.product-main .action-grid,
.product-main .offer-strip,
.product-main .comparison-grid,
.product-main .audience-grid,
.product-main .directory-grid,
.product-main .material-grid,
.product-main .vacancy-card-grid {
  gap: 18px;
}

.product-main .action-card,
.product-main .offer-tile,
.product-main .directory-grid article,
.product-main .material-grid article {
  min-height: 0;
}

.product-main .split-section,
.product-main .split-section--reverse {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.product-main .split-section--reverse {
  grid-template-columns: minmax(360px, 1.18fr) minmax(0, 0.82fr);
}

.product-main .platform-hero-visual,
.product-main .hero-panel {
  max-width: 100%;
}

@media (max-width: 1180px) {
  .product-main .product-hero__copy h1,
  .product-main .vacancy-detail-head h1 {
    max-width: 14.5ch;
    font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  }

  .product-main .action-grid--five,
  .product-main .offer-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .product-main .product-hero {
    padding-top: 42px;
  }

  .product-main .product-hero__grid,
  .product-main .split-section,
  .product-main .split-section--reverse,
  .product-main .section-head--inline {
    grid-template-columns: 1fr;
  }

  .product-main .product-hero__copy h1,
  .product-main .vacancy-detail-head h1 {
    max-width: 15ch;
  }

  .product-main .section-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .product-main .shell {
    width: min(100% - 28px, 1180px);
  }

  .product-main .product-hero,
  .product-main .product-section,
  .product-main .product-section--soft {
    padding: 42px 0;
  }

  .product-main .product-hero__copy h1,
  .product-main .vacancy-detail-head h1 {
    max-width: none;
    font-size: clamp(2.05rem, 9vw, 2.95rem);
  }
}

/* Public header polish */
.site-header {
  width: min(1400px, calc(100% - 32px));
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.site-header__inner {
  min-height: 64px;
  padding: 9px 14px;
  gap: 20px;
}

.brand-mark-frame {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border-radius: 14px;
}

.brand-mark-frame .brand-logo--mark {
  width: 66px;
  height: 66px;
  transform: scale(2.18);
}

.brand-title {
  font-size: 1.08rem;
}

.brand-subtitle {
  font-size: 0.58rem;
  letter-spacing: 0.09em;
}

.site-header__menu {
  gap: 18px;
}

.site-header__nav {
  gap: clamp(10px, 1vw, 18px);
}

.site-header__nav a {
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.site-header__actions {
  gap: 8px;
}

.site-header__login,
.site-header__join {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.site-header__join--secondary {
  color: #334155;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
}

@media (max-width: 1120px) {
  .brand-subtitle {
    display: none;
  }

  .site-header__nav {
    gap: 6px;
  }

  .site-header__nav a,
  .site-header__login,
  .site-header__join {
    font-size: 0.86rem;
  }
}

/* Medrazvitie 2026 visual direction */
:root {
  --design-ink: #102033;
  --design-muted: #607086;
  --design-blue: #0a6f8f;
  --design-teal: #0f9f9a;
  --design-mint: #dff8f3;
  --design-rose: #e85d8f;
  --design-rose-soft: #ffe4ee;
  --design-violet: #5d55c8;
  --design-card: rgba(255, 255, 255, 0.86);
  --design-line: rgba(20, 55, 80, 0.12);
  --design-shadow: 0 24px 70px rgba(18, 43, 65, 0.13);
  --design-radius: 30px;
}

body {
  color: var(--design-ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(38, 215, 190, 0.26), transparent 32%),
    radial-gradient(circle at 92% 6%, rgba(232, 93, 143, 0.22), transparent 34%),
    radial-gradient(circle at 70% 88%, rgba(93, 85, 200, 0.18), transparent 36%),
    linear-gradient(135deg, #f6fffc 0%, #f3fbff 42%, #fff6fa 100%);
}

.shell {
  width: min(1180px, calc(100% - 40px));
}

.site-header {
  top: 18px;
  width: min(1180px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 45px rgba(22, 54, 76, 0.09);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 66px;
  padding: 12px 14px;
}

.site-header__brand {
  letter-spacing: -0.03em;
  text-transform: none;
}

.brand-mark-frame {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #0a6f8f 0%, #12c8b4 58%, #e85d8f 100%);
  box-shadow: 0 10px 24px rgba(15, 159, 154, 0.28);
}

.brand-mark-frame .brand-logo--mark {
  width: 62px;
  height: 62px;
  filter: brightness(1.1) contrast(1.04);
  transform: scale(2.04);
}

.brand-title {
  color: var(--design-ink);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  color: var(--design-muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.site-header__nav {
  gap: 14px;
}

.site-header__nav a {
  min-height: 40px;
  padding: 9px 10px;
  color: #23344a;
  font-size: 14px;
  font-weight: 750;
}

.site-header__nav a:hover,
.site-header__nav a.is-active {
  color: #075e72;
  background: rgba(223, 248, 243, 0.78);
}

.site-header__login,
.site-header__join,
.button {
  border-radius: 16px;
  font-weight: 850;
}

.site-header__login,
.site-header__join {
  min-height: 44px;
  padding: 0 18px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
}

.button--violet,
.site-header__join {
  color: #fff;
  background: linear-gradient(135deg, #08748e 0%, #10a79f 100%);
  box-shadow: 0 16px 34px rgba(10, 111, 143, 0.25);
}

.button--orange {
  color: #fff;
  background: linear-gradient(135deg, #e85d8f 0%, #f18462 100%);
  box-shadow: 0 16px 34px rgba(232, 93, 143, 0.22);
}

.button--ghost,
.site-header__login,
.site-header__join--secondary {
  color: #123047;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 32, 51, 0.1);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-2px);
}

.design-main {
  overflow: hidden;
}

.design-hero {
  position: relative;
  padding: 86px 0 56px;
}

.design-hero__grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 42px;
  align-items: center;
}

.design-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(15, 159, 154, 0.22);
  border-radius: 999px;
  color: #075e72;
  background: rgba(223, 248, 243, 0.86);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.design-hero h1 {
  max-width: 780px;
  margin: 24px 0 20px;
  color: var(--design-ink);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.design-hero h1 span {
  display: inline;
  color: var(--design-ink);
}

.design-lead {
  max-width: 650px;
  margin: 0 0 32px;
  color: #4c6178;
  font-size: 20px;
  line-height: 1.45;
}

.design-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #2f465d;
  font-size: 14px;
}

.trust-pill {
  padding: 10px 14px;
  border: 1px solid rgba(16, 32, 51, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.product-visual {
  position: relative;
  min-height: 520px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  opacity: 0.95;
}

.orb-one {
  top: 20px;
  right: 40px;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(15, 159, 154, 0.22), rgba(232, 93, 143, 0.18));
}

.orb-two {
  bottom: 42px;
  left: 8px;
  width: 190px;
  height: 190px;
  background: linear-gradient(135deg, rgba(93, 85, 200, 0.18), rgba(91, 192, 235, 0.24));
}

.mockup {
  position: relative;
  width: min(520px, 100%);
  margin: 20px 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--design-shadow);
  backdrop-filter: blur(20px);
}

.mockup-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 24px;
  border-bottom: 1px solid var(--design-line);
  color: #25364c;
  background: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 850;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #9be0e2;
}

.dot:nth-child(2) {
  background: #b5b8ff;
}

.dot:nth-child(3) {
  margin-right: 8px;
  background: #ffc0d8;
}

.mockup-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.mini-card {
  padding: 18px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(18, 43, 65, 0.07);
}

.mini-card.alt {
  background: linear-gradient(135deg, rgba(223, 248, 243, 0.95), rgba(255, 228, 238, 0.58));
}

.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #075e72;
  background: #e7f8f7;
  font-size: 12px;
  font-weight: 850;
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.mini-card p {
  margin: 0;
  color: var(--design-muted);
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 18px auto 0;
  padding: 22px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0c6e89 0%, #0f9f9a 50%, #e85d8f 130%);
  box-shadow: 0 28px 62px rgba(10, 111, 143, 0.22);
}

.stat {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat span {
  display: block;
  margin-top: 3px;
  opacity: 0.88;
  font-size: 13px;
}

.design-section {
  padding: 54px 0;
}

.design-section--soft {
  background: rgba(255, 255, 255, 0.28);
}

.design-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.design-section-head h2 {
  max-width: 720px;
  margin: 0;
  color: var(--design-ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.design-section-head p {
  max-width: 390px;
  margin: 0;
  color: var(--design-muted);
  font-size: 16px;
}

.design-main .scenario-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.design-main .scenario-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--design-radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--design-shadow);
}

.design-main .scenario-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 159, 154, 0.28), transparent 66%);
}

.design-main .scenario-card--clinic::before {
  background: radial-gradient(circle, rgba(232, 93, 143, 0.28), transparent 66%);
}

.design-main .scenario-card h3 {
  margin: 18px 0 12px;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.design-main .scenario-card p {
  max-width: 480px;
  color: var(--design-muted);
}

.design-main .clean-list {
  margin: 22px 0 26px;
}

.design-main .clean-list li {
  color: #2f465d;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(18, 43, 65, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 62px rgba(18, 43, 65, 0.13);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(15, 159, 154, 0.18), rgba(232, 93, 143, 0.18));
  font-size: 22px;
}

.feature h3 {
  margin: 0 0 9px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.feature p {
  margin: 0 0 14px;
  color: var(--design-muted);
  font-size: 15px;
}

.design-form-section {
  padding: 58px 0 88px;
}

.design-form-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  background:
    radial-gradient(circle at 0% 0%, rgba(223, 248, 243, 0.95), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(255, 228, 238, 0.95), transparent 48%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--design-shadow);
  backdrop-filter: blur(22px);
}

.design-form-copy {
  padding: 18px 0 18px 10px;
}

.design-form-copy h2 {
  margin: 18px 0 16px;
  color: var(--design-ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.design-form-copy p {
  max-width: 460px;
  color: var(--design-muted);
  font-size: 18px;
}

.notice {
  margin-top: 28px;
  padding: 18px;
  border-radius: 22px;
  color: #27435a;
  background: rgba(8, 116, 142, 0.08);
  font-size: 14px;
}

.design-lead-form {
  padding: 26px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18, 43, 65, 0.08);
}

.field {
  margin-bottom: 14px;
}

.design-lead-form label {
  display: block;
  margin-bottom: 7px;
  color: #31465c;
  font-size: 13px;
  font-weight: 800;
}

.design-lead-form input,
.design-lead-form select,
.design-lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 16px;
  color: var(--design-ink);
  background: #f8fbfc;
  font: inherit;
  outline: none;
  transition: 0.2s ease;
}

.design-lead-form textarea {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

.design-lead-form input:focus,
.design-lead-form select:focus,
.design-lead-form textarea:focus {
  border-color: rgba(15, 159, 154, 0.65);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 159, 154, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.agree {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  color: var(--design-muted) !important;
  font-size: 12px !important;
}

.agree input {
  width: 16px;
  min-height: 16px;
  margin-top: 1px;
}

.full {
  width: 100%;
}

@media (max-width: 940px) {
  .design-hero__grid,
  .design-main .scenario-grid,
  .design-form-card {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: auto;
  }

  .stats,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    top: 10px;
  }

  .design-hero {
    padding-top: 54px;
  }

  .design-actions .button,
  .hero-actions .button {
    width: 100%;
  }

  .stats,
  .features-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .design-main .scenario-card,
  .design-form-card {
    padding: 22px;
  }

  .design-lead-form {
    padding: 18px;
  }
}

/* Portal layout direction */
:root {
  --portal-ink: #102033;
  --portal-muted: #607086;
  --portal-blue: #2f87bf;
  --portal-blue-deep: #0b5f82;
  --portal-teal: #0b8f87;
  --portal-pink: #ec5a8d;
  --portal-soft: #eef5f8;
  --portal-card: #f4f8fb;
  --portal-line: rgba(16, 32, 51, 0.1);
  --portal-shadow: 0 24px 70px rgba(18, 43, 65, 0.13);
  --portal-radius: 24px;
}

body {
  padding-top: 0;
  color: var(--portal-ink);
  background: #f6fbfd;
}

.portal-page {
  width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
}

.portal-header {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  z-index: 100;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 43, 65, 0.06);
  transform: none;
}

.portal-header-top {
  display: flex;
  gap: clamp(18px, 2vw, 36px);
  align-items: center;
  min-height: 82px;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 310px;
  flex: 0 0 310px;
  min-width: 0;
  color: var(--portal-ink);
}

.portal-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 54px;
  flex: 0 0 78px;
  overflow: visible;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: 28px;
  font-weight: 950;
}

.portal-brand-mark::after {
  content: none;
}

.portal-brand-mark img {
  width: 78px;
  height: 54px;
  max-width: none;
  object-fit: contain;
  transform: none;
}

.portal-brand b {
  display: block;
  color: var(--portal-ink);
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.portal-brand small {
  display: block;
  margin-top: 5px;
  color: var(--portal-muted);
  font-size: 11.5px;
  line-height: 1.15;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.portal-header-contact b {
  display: block;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.portal-header-contact {
  flex: 0 0 205px;
  min-width: 0;
}

.portal-header-contact small {
  color: var(--portal-muted);
  font-size: 12.5px;
  line-height: 1.35;
  white-space: nowrap;
}

.portal-header-mail {
  display: grid;
  gap: 3px;
  flex: 0 0 185px;
  min-width: 0;
  color: #123047;
  text-decoration: none;
  white-space: nowrap;
}

.portal-header-mail span {
  color: var(--portal-muted);
  font-size: 12.5px;
  line-height: 1.2;
}

.portal-header-mail b {
  color: #123047;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-header-note {
  flex: 1 1 230px;
  min-width: 210px;
  color: #25364c;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.portal-header-icons {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.portal-header-icons a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--portal-blue);
  background: #f0f7fb;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.portal-header-icons a:hover {
  color: #fff;
  background: var(--portal-blue-deep);
  transform: translateY(-1px);
}

.portal-header-icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.portal-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  flex: 0 0 auto;
}

.portal-header-menu {
  position: static;
  display: block;
  grid-column: auto;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.portal-icon-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 999px;
  color: #334155;
  background: #f7fbfd;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
}

.portal-btn-compact {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.16);
}

.portal-header-nav-wrap {
  background: #edf6fb;
}

.portal-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
  color: #25364c;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.portal-header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 2px;
  color: inherit;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  font-size: inherit;
  font-weight: 700;
  white-space: nowrap;
}

.portal-header-nav a:hover,
.portal-header-nav a.is-active {
  color: var(--portal-blue-deep);
  background: transparent;
  border-bottom-color: currentColor;
}

.portal-main {
  overflow: hidden;
}

.portal-hero-panel {
  padding: 42px 0 46px;
  background:
    radial-gradient(circle at 28% 36%, rgba(255, 255, 255, 0.4), transparent 30%),
    linear-gradient(135deg, #2e87bd 0%, #257dad 52%, #1e789f 100%);
}

.portal-hero-layout {
  display: grid;
  grid-template-columns: minmax(560px, 0.95fr) 1fr;
  gap: 34px;
  align-items: stretch;
}

.portal-hero-card,
.portal-quick-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: #eef4f7;
  box-shadow: 0 18px 48px rgba(7, 58, 88, 0.12);
}

.portal-hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 56px 56px 38px;
  border-radius: 28px;
}

.portal-hero-card::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  border: 70px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.portal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid rgba(15, 159, 154, 0.2);
  border-radius: 999px;
  color: #075e72;
  background: rgba(223, 248, 243, 0.86);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.portal-eyebrow--light {
  position: relative;
  z-index: 2;
  background: #fff;
}

.portal-hero-card h1 {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 24px 0 18px;
  color: var(--portal-ink);
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.portal-hero-card p {
  position: relative;
  z-index: 2;
  max-width: 610px;
  margin: 0 0 28px;
  color: #5e6f7d;
  font-size: 22px;
  line-height: 1.4;
}

.portal-hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-hero-document {
  position: absolute;
  right: 56px;
  bottom: -44px;
  width: 260px;
  height: 330px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 20px 52px rgba(18, 43, 65, 0.18);
  opacity: 0.88;
  transform: rotate(-1.5deg);
}

.portal-doc-sheet {
  width: 72%;
  height: 260px;
  margin: 24px auto;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 8px;
  background:
    repeating-linear-gradient(to bottom, rgba(16, 32, 51, 0.14), rgba(16, 32, 51, 0.14) 2px, transparent 2px, transparent 20px),
    linear-gradient(#f7fbfd, #fff);
}

.portal-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 56px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.portal-slider-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}

.portal-slider-dots .active {
  background: var(--portal-blue);
}

.portal-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portal-quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 156px;
  overflow: hidden;
  padding: 28px 30px;
  border-radius: 24px;
  transition: 0.22s ease;
}

.portal-quick-card:hover {
  background: #fff;
  box-shadow: 0 22px 58px rgba(7, 58, 88, 0.18);
  transform: translateY(-4px);
}

.portal-quick-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--portal-blue);
  background: #fff;
  box-shadow: 0 10px 22px rgba(18, 43, 65, 0.08);
  font-weight: 900;
}

.portal-quick-card b {
  max-width: 280px;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.portal-quick-card em {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #2d3c4d;
  font-size: 24px;
  font-style: normal;
}

.portal-section {
  padding: 66px 0;
}

.portal-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.portal-section h2,
.portal-section-head h2 {
  max-width: 720px;
  margin: 0;
  color: var(--portal-ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.portal-section-head p {
  max-width: 410px;
  margin: 0;
  color: var(--portal-muted);
  font-size: 16px;
}

.portal-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.portal-scenario-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--portal-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 56px rgba(18, 43, 65, 0.08);
}

.portal-scenario-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 159, 154, 0.2), transparent 66%);
}

.portal-scenario-card--clinic::before {
  background: radial-gradient(circle, rgba(232, 93, 143, 0.2), transparent 66%);
}

.portal-scenario-card h3 {
  margin: 18px 0 12px;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.portal-scenario-card p {
  max-width: 480px;
  color: var(--portal-muted);
}

.portal-scenario-card ul {
  display: grid;
  gap: 11px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.portal-scenario-card li {
  position: relative;
  padding-left: 22px;
  color: #2f465d;
}

.portal-scenario-card li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--portal-teal);
}

.portal-scenario-card--clinic li::before {
  background: var(--portal-pink);
}

.portal-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portal-feature {
  padding: 26px;
  border: 1px solid var(--portal-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 43, 65, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-feature:hover {
  box-shadow: 0 26px 62px rgba(18, 43, 65, 0.13);
  transform: translateY(-4px);
}

.portal-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 17px;
  color: var(--portal-blue);
  background: #eaf4f8;
  font-size: 22px;
  font-weight: 900;
}

.portal-feature h3 {
  margin: 0 0 9px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.portal-feature p {
  margin: 0 0 14px;
  color: var(--portal-muted);
  font-size: 15px;
}

.portal-form-section {
  padding: 58px 0 88px;
}

.portal-form-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  overflow: hidden;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: linear-gradient(135deg, #eaf5f8 0%, #fff 50%, #ffe8f0 100%);
  box-shadow: var(--portal-shadow);
}

.portal-form-copy {
  padding: 18px 0 18px 10px;
}

.portal-form-copy h2 {
  margin: 18px 0 16px;
  color: var(--portal-ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.portal-form-copy p {
  max-width: 460px;
  color: var(--portal-muted);
  font-size: 18px;
}

.portal-notice {
  margin-top: 28px;
  padding: 18px;
  border-radius: 22px;
  color: #27435a;
  background: rgba(8, 116, 142, 0.08);
  font-size: 14px;
}

.portal-lead-form {
  padding: 26px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18, 43, 65, 0.08);
}

.portal-field {
  margin-bottom: 14px;
}

.portal-lead-form label {
  display: block;
  margin-bottom: 7px;
  color: #31465c;
  font-size: 13px;
  font-weight: 800;
}

.portal-lead-form input,
.portal-lead-form select,
.portal-lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 16px;
  color: var(--portal-ink);
  background: #f8fbfc;
  font: inherit;
  outline: none;
  transition: 0.2s ease;
}

.portal-lead-form textarea {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

.portal-lead-form input:focus,
.portal-lead-form select:focus,
.portal-lead-form textarea:focus {
  border-color: rgba(15, 159, 154, 0.65);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 159, 154, 0.12);
}

.portal-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.portal-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  color: var(--portal-muted);
  font-size: 12px;
}

.portal-agree input {
  width: 16px;
  min-height: 16px;
  margin-top: 1px;
}

.portal-full {
  width: 100%;
}

@media (max-width: 1180px) {
  .portal-header-top {
    grid-template-columns: 240px 170px 1fr auto;
  }

  .portal-header-mail,
  .portal-header-note {
    display: none;
  }

  .portal-hero-layout {
    grid-template-columns: 1fr;
  }

  .portal-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portal-hero-card {
    min-height: 460px;
  }
}

@media (max-width: 940px) {
  .portal-quick-grid,
  .portal-scenario-grid,
  .portal-form-card {
    grid-template-columns: 1fr;
  }

  .portal-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Mobile menu drawer for mdr-header */
@media (max-width: 940px) {
  body.has-mobile-menu-open {
    overflow: hidden;
  }

  .mdr-header .site-header__toggle {
    position: relative;
    z-index: 110;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(11, 88, 122, 0.18);
    border-radius: 12px;
    background: #fff;
    color: #0b587a;
    cursor: pointer;
  }

  .mdr-header .site-header__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .mdr-header .site-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mdr-header .site-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mdr-header .site-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mdr-header .mdr-nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 105;
    border-top: 0;
    background: transparent;
    pointer-events: none;
  }

  .site-header.is-mobile-open .mdr-nav-wrap {
    pointer-events: auto;
  }

  .mdr-header .mdr-nav-wrap > .site-header__menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: min(100% - 24px, 480px);
    max-height: calc(100vh - 104px);
    margin: 8px auto 0;
    padding: 14px 18px 18px;
    background: #fff;
    border: 1px solid rgba(23, 32, 51, 0.08);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(9, 50, 74, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    min-height: 0;
    overflow-y: auto;
  }

  .site-header.is-mobile-open .mdr-nav-wrap > .site-header__menu,
  .mdr-header .site-header__menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mdr-header .site-header__menu .site-header__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 4px 0 8px;
    overflow: visible;
  }

  .mdr-header .site-header__menu .site-header__nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(23, 32, 51, 0.06);
    color: #1a2a3d;
    font-size: 16px;
    font-weight: 700;
  }

  .mdr-header .site-header__menu .site-header__nav a:last-child {
    border-bottom: 0;
  }

  .mdr-header .site-header__menu .site-header__nav a.is-active {
    color: #0b587a;
  }

  .mdr-header .site-header__menu .nav-dropdown {
    width: 100%;
  }

  .mdr-header .site-header__menu .nav-dropdown__toggle {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(23, 32, 51, 0.06);
    color: #1a2a3d;
    font-size: 16px;
    font-weight: 800;
  }

  .mdr-header .site-header__menu .nav-dropdown__panel {
    position: static;
    display: grid;
    width: 100%;
    min-width: 0;
    padding: 2px 0 10px 14px;
    border: 0;
    border-bottom: 1px solid rgba(23, 32, 51, 0.06);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mdr-header .site-header__menu .nav-dropdown__panel a {
    min-height: 38px;
    padding: 8px 4px;
    border-bottom: 0;
    color: #526277;
    font-size: 14px;
    font-weight: 700;
  }

  .mdr-header .mdr-header-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(23, 32, 51, 0.06);
  }

  .mdr-header .mdr-header-actions .site-header__login,
  .mdr-header .mdr-header-actions .site-header__join {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  .mdr-header .mdr-header-actions .mdr-header-slogan {
    max-width: none;
    padding: 4px 2px;
    color: #627286;
    font-size: 11px;
    text-align: left;
  }

  .mdr-header .mdr-header-actions .mdr-header-mail {
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(11, 88, 122, 0.12);
    border-radius: 12px;
    color: #0b587a;
    background: #f3f9fb;
    text-decoration: none;
  }

  body.has-mobile-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(8, 22, 38, 0.42);
    pointer-events: none;
  }
}

@media (max-width: 620px) {
  .portal-page {
    width: min(100% - 24px, 1560px);
  }

  .portal-brand small {
    display: none;
  }

  .portal-header-top {
    min-height: 74px;
  }

  .portal-brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .portal-hero-panel {
    padding-top: 24px;
  }

  .portal-hero-card {
    min-height: auto;
    padding: 28px 22px 74px;
  }

  .portal-hero-card h1 {
    font-size: 38px;
  }

  .portal-hero-card p {
    font-size: 17px;
  }

  .portal-hero-document {
    display: none;
  }

  .portal-hero-actions .button {
    width: 100%;
  }

  .portal-features-grid,
  .portal-form-row {
    grid-template-columns: 1fr;
  }

  .portal-scenario-card,
  .portal-form-card {
    padding: 22px;
  }

  .portal-lead-form {
    padding: 18px;
  }
}

/* Medrazvitie redesign based on the provided reference page. */
html {
  overflow-x: hidden;
}

body {
  padding-top: 146px;
  overflow-x: hidden;
}

@media (max-width: 940px) {
  body {
    padding-top: 82px;
  }
}

.mdr-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(23, 32, 51, 0.1);
  background: #fff;
  box-shadow: 0 10px 34px rgba(9, 50, 74, 0.06);
  transform: none;
}

.mdr-header .shell,
.mdr-footer .shell,
.mdr-main .shell {
  width: min(1564px, calc(100% - 48px));
}

.mdr-header-top {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(240px, 300px) 190px 220px 1fr;
  gap: 22px;
  align-items: center;
}

.mdr-header .site-header__brand {
  min-width: 0;
}

.mdr-header .brand-title {
  font-size: clamp(1.38rem, 0.65vw + 1.05rem, 1.78rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.mdr-header-phone b {
  display: block;
  color: #172033;
  font-size: 1.14rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.mdr-header-phone b a {
  color: inherit;
  text-decoration: none;
}

.mdr-header-phone span {
  display: block;
  color: #627286;
  font-size: 13px;
}

.mdr-header-mail {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #28364a;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.mdr-header-mail:hover,
.mdr-header-mail:focus-visible {
  color: #0b587a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mdr-header-region {
  display: block;
  color: #28364a;
  font-size: 15px;
  line-height: 1.35;
}

.mdr-nav-wrap {
  background: #e8f1f7;
  border-top: 1px solid rgba(23, 32, 51, 0.08);
}

.mdr-header .site-header__menu {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex: none;
}

.mdr-header .site-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px clamp(14px, 2.2vw, 28px);
  padding: 4px 0;
  border: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mdr-header .site-header__nav::-webkit-scrollbar {
  display: none;
}

.mdr-header .site-header__nav a {
  flex: 0 0 auto;
  padding: 14px clamp(8px, 1vw, 14px);
  margin: 2px 0;
  border-radius: 10px;
  color: #26384c;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.mdr-header .site-header__nav a:hover,
.mdr-header .site-header__nav a.is-active {
  color: #0b587a;
}

.mdr-header-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

@media (min-width: 941px) {
  .mdr-header .mdr-header-actions {
    display: none;
  }
}

.mdr-header .site-header__login,
.mdr-header .site-header__join {
  min-height: 40px;
  border-radius: 999px;
}

.mdr-header .site-header__join {
  color: #fff;
  background: linear-gradient(135deg, #0b587a, #0a8f87);
  box-shadow: 0 14px 30px rgba(10, 143, 135, 0.2);
}

.mdr-header .brand-copy {
  gap: 2px;
}

.mdr-header-slogan {
  display: inline-block;
  width: 100%;
  max-width: none;
  justify-self: start;
  color: #627286;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.mdr-header-top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: max-content;
}

.mdr-header-top-actions .site-header__login,
.mdr-header-top-actions .site-header__join {
  flex: 0 0 auto;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.mdr-header .site-header__nav {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 4px;
  overflow: visible;
}

.nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown__toggle,
.mdr-header .site-header__nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 8px;
  border-radius: 10px;
  color: #26384c;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-dropdown__toggle:hover,
.nav-dropdown__toggle:focus-visible,
.nav-dropdown__toggle.is-active,
.mdr-header .site-header__nav > a:hover,
.mdr-header .site-header__nav > a.is-active {
  color: #0b587a;
  background: rgba(11, 88, 122, 0.08);
}

.nav-dropdown__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 140;
  display: grid;
  gap: 4px;
  min-width: 260px;
  padding: 10px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(9, 50, 74, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown__panel--wide {
  min-width: 340px;
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel,
.nav-dropdown.is-open .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mdr-header .nav-dropdown__panel a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 10px;
  margin: 0;
  border-radius: 9px;
  color: #26384c;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
  white-space: normal;
}

.mdr-header .nav-dropdown__panel a:hover {
  color: #0b587a;
  background: rgba(11, 88, 122, 0.08);
}

@media (max-width: 1480px) {
  .nav-dropdown__toggle,
  .mdr-header .site-header__nav > a {
    font-size: 0.84rem;
    padding-inline: 6px;
  }
}

@media (max-width: 1280px) and (min-width: 941px) {
  body {
    padding-top: 162px;
  }

  .mdr-header-top {
    grid-template-columns: minmax(230px, 280px) 180px minmax(430px, 1fr) auto;
    row-gap: 4px;
  }

  .mdr-header-region {
    font-size: 13px;
  }

  .mdr-header-slogan {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    font-size: 10px;
  }

  .mdr-header-mail {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
  }

  .mdr-header-top-actions {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  .mdr-header-top-actions .site-header__login,
  .mdr-header-top-actions .site-header__join {
    padding-inline: 14px;
  }

  .mdr-header .site-header__menu {
    align-items: flex-start;
    min-height: 70px;
  }

  .mdr-header .site-header__nav {
    flex-wrap: wrap;
    row-gap: 2px;
    padding: 6px 0;
  }
}

@media (max-width: 1100px) and (min-width: 941px) {
  body {
    padding-top: 176px;
  }

  .mdr-header-top {
    min-height: 104px;
  }
}

.mdr-main {
  overflow-x: hidden;
  color: #172033;
  background:
    radial-gradient(circle at 8% 14%, rgba(35, 167, 200, 0.14), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(238, 95, 143, 0.12), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f5f9fc 100%);
}

:root {
  /* Brand */
  --mdr-teal-deep:   #0F766E;
  --mdr-teal:        #147C75;
  --mdr-teal-soft:   #E6F4F1;
  --mdr-teal-aqua:   #D5EBE8;

  /* Warm (клиники) */
  --mdr-warm:        #B97A57;
  --mdr-warm-deep:   #A06849;
  --mdr-warm-soft:   #F3E6DC;

  /* Neutrals */
  --mdr-surface:        #FAFAF7;
  --mdr-surface-section:#F2F2EE;
  --mdr-surface-strong: #FFFFFF;
  --mdr-line:           rgba(20, 48, 62, 0.12);

  /* Text */
  --mdr-ink:     #0E1B1A;
  --mdr-muted:   #5C6B69;

  /* States */
  --mdr-success: #1F8F7E;
  --mdr-danger:  #B0463C;

  /* Effects */
  --mdr-shadow-soft: 0 24px 70px rgba(15, 94, 90, 0.10);
  --mdr-shadow-card: 0 8px 24px rgba(14, 27, 26, 0.06);

  /* Radius */
  --mdr-radius-lg: 28px;
  --mdr-radius-md: 18px;
  --mdr-radius-sm: 12px;
}

.mdr-hero-band {
  padding: 60px 0 54px;
  background:
    radial-gradient(circle at 18% 8%, rgba(15, 118, 110, 0.12), transparent 30%),
    linear-gradient(180deg, var(--mdr-surface) 0%, var(--mdr-section) 100%);
  border-bottom: 1px solid var(--mdr-line);
}

.mdr-hero-grid {
  display: grid;
  grid-template-columns: minmax(760px, 1.35fr) minmax(340px, 0.55fr);
  gap: 32px;
  align-items: stretch;
}

.mdr-hero-card,
.mdr-quick-card {
  background: var(--mdr-surface-strong);
  border: 1px solid var(--mdr-line);
  box-shadow: var(--mdr-shadow-soft);
}

.mdr-hero-card {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.42fr);
  column-gap: 36px;
  align-items: center;
  overflow: hidden;
  padding: 60px 64px;
  border-radius: var(--mdr-radius-lg);
  background:
    linear-gradient(106deg, rgba(255, 253, 249, 0.98) 0 56%, rgba(224, 240, 236, 0.96) 56% 100%);
  isolation: isolate;
}

.mdr-hero-card::before {
  content: "";
  position: absolute;
  inset: 28px 28px 28px auto;
  width: 36%;
  border: 1px solid rgba(11, 63, 58, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(135deg, rgba(15, 118, 110, 0.05) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.mdr-hero-card .mdr-eyebrow,
.mdr-hero-card h1,
.mdr-hero-card p,
.mdr-hero-card .mdr-actions,
.mdr-hero-trust {
  position: relative;
  z-index: 2;
  grid-column: 1;
}

.mdr-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(11, 88, 122, 0.12);
  border-radius: 999px;
  color: #0b587a;
  background: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mdr-hero-card .mdr-eyebrow {
  width: fit-content;
  border-color: rgba(15, 118, 110, 0.16);
  color: var(--mdr-teal-deep);
  background: var(--mdr-teal-soft);
}

.mdr-hero-card h1 {
  max-width: 720px;
  margin: 28px 0 20px;
  color: var(--mdr-ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 4.72rem;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.mdr-hero-card p {
  max-width: 660px;
  margin: 0 0 30px;
  color: var(--mdr-muted);
  font-size: 1.18rem;
  line-height: 1.58;
}

.mdr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mdr-hero-card .mdr-actions {
  margin-bottom: 8px;
}

.mdr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mdr-btn:hover {
  transform: translateY(-2px);
}

.mdr-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #0b587a, #0a8f87);
  box-shadow: 0 14px 30px rgba(10, 143, 135, 0.2);
}

.mdr-btn--pink {
  color: #fff;
  background: linear-gradient(135deg, #ee5f8f, #f28b64);
  box-shadow: 0 14px 30px rgba(238, 95, 143, 0.22);
}

.mdr-hero-card .mdr-btn--pink {
  min-height: 54px;
  padding-inline: 28px;
  background: linear-gradient(135deg, var(--mdr-teal-deep), var(--mdr-teal));
  box-shadow: 0 18px 38px rgba(11, 63, 58, 0.26);
}

.mdr-btn--light {
  color: #172033;
  background: #fff;
  border: 1px solid rgba(23, 32, 51, 0.1);
}

.mdr-btn--full {
  width: 100%;
}

.mdr-hero-trust {
  max-width: 640px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 27, 26, 0.1);
}

.mdr-hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  color: var(--mdr-ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
}

.mdr-hero-doc {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: center;
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 30px;
  color: var(--mdr-ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(247, 251, 248, 0.94));
  box-shadow: 0 30px 70px rgba(11, 63, 58, 0.18);
  opacity: 1;
}

.mdr-hero-doc::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(11, 63, 58, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.mdr-hero-doc__header,
.mdr-hero-doc__profile,
.mdr-hero-doc__case {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mdr-hero-doc__header {
  min-height: 48px;
  padding: 0 4px;
  color: var(--mdr-teal-deep);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.mdr-hero-doc__header span,
.mdr-hero-doc__avatar,
.mdr-hero-doc__case i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: var(--mdr-teal-deep);
  background: var(--mdr-teal-soft);
}

.mdr-hero-doc__profile {
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 22px;
  background: #fff;
}

.mdr-hero-doc__avatar {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  font-size: 1.35rem;
}

.mdr-hero-doc__profile b,
.mdr-hero-doc__profile em {
  display: block;
}

.mdr-hero-doc__profile b {
  font-size: 1rem;
  line-height: 1.15;
}

.mdr-hero-doc__profile em {
  margin-top: 4px;
  color: var(--mdr-muted);
  font-size: 0.84rem;
  font-style: normal;
}

.mdr-hero-doc__list {
  position: relative;
  display: grid;
  gap: 8px;
}

.mdr-hero-doc__list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 14px;
  color: #26384c;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
}

.mdr-hero-doc__list i {
  color: var(--mdr-teal);
}

.mdr-hero-doc__case {
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 18px;
  color: #5c3c22;
  background: var(--mdr-warm-soft);
  font-weight: 900;
}

.mdr-hero-dots {
  position: absolute;
  left: 60px;
  bottom: 36px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.mdr-hero-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.94;
}

.mdr-hero-dots .is-active {
  background: #2f86bc;
}

.mdr-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mdr-quick-card {
  position: relative;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.92);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.mdr-quick-card:hover {
  transform: translateY(-4px);
  background: #fffdf9;
  box-shadow: 0 28px 62px rgba(11, 63, 58, 0.16);
}

.mdr-quick-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--mdr-teal-deep);
  background: var(--mdr-teal-soft);
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(11, 63, 58, 0.1);
}

.mdr-quick-card:nth-child(5) .mdr-quick-icon {
  color: var(--mdr-warm);
  background: var(--mdr-warm-soft);
}

.mdr-quick-card b {
  max-width: 300px;
  color: var(--mdr-ink);
  font-size: 1.12rem;
  line-height: 1.22;
}

.mdr-quick-card em {
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--mdr-muted);
  font-size: 1.05rem;
  font-style: normal;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mdr-quick-card:hover em {
  opacity: 1;
  transform: translate(2px, -2px);
}

.mdr-pink-strip {
  color: #fff;
  background: linear-gradient(90deg, #ee5f8f, #f08362);
}

.mdr-pink-strip .shell {
  min-height: 62px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-size: 1.06rem;
  font-weight: 900;
}

.mdr-pink-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: #d94e7c;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.mdr-section {
  padding: 72px 0;
}

.mdr-section--soft {
  background: linear-gradient(180deg, rgba(232, 241, 247, 0.62), rgba(255, 255, 255, 0));
}

.mdr-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 30px;
}

.mdr-section-head h2,
.mdr-trust-panel h2,
.mdr-contact-copy h2 {
  margin: 0;
  max-width: 780px;
  color: #172033;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.mdr-section-head p,
.mdr-scenario-card p,
.mdr-feature-card p,
.mdr-offer-card p,
.mdr-contact-copy p {
  color: #627286;
}

.mdr-section-head p {
  max-width: 520px;
  margin: 0;
  font-size: 1.03rem;
}

.mdr-scenario-grid,
.mdr-feature-grid,
.mdr-offer-grid {
  display: grid;
  gap: 18px;
}

.mdr-scenario-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mdr-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mdr-offer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mdr-scenario-card,
.mdr-feature-card,
.mdr-offer-card,
.mdr-contact-card {
  border: 1px solid rgba(23, 32, 51, 0.1);
  background: #fff;
  box-shadow: 0 14px 34px rgba(9, 50, 74, 0.08);
}

.mdr-scenario-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 34px;
  border-radius: 34px;
}

.mdr-scenario-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 167, 200, 0.2), transparent 68%);
}

.mdr-scenario-card--employer::after {
  background: radial-gradient(circle, rgba(238, 95, 143, 0.2), transparent 68%);
}

.mdr-scenario-card h3 {
  margin: 18px 0 12px;
  color: #172033;
  font-size: 1.85rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.mdr-scenario-card p {
  max-width: 560px;
  margin: 0;
}

.mdr-scenario-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.mdr-scenario-card li {
  position: relative;
  padding-left: 22px;
  color: #34465a;
}

.mdr-scenario-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a8f87;
}

.mdr-scenario-card--employer li::before {
  background: #ee5f8f;
}

.mdr-feature-card,
.mdr-offer-card {
  min-height: 230px;
  padding: 28px;
  border-radius: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mdr-feature-card:hover,
.mdr-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 62px rgba(9, 50, 74, 0.13);
}

.mdr-feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: #0b587a;
  background: #eaf4fa;
  font-weight: 900;
}

.mdr-feature-icon i {
  font-size: 1.28rem;
  line-height: 1;
}

.mdr-feature-card h3,
.mdr-offer-card h3 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 1.28rem;
  line-height: 1.18;
}

.mdr-feature-card p,
.mdr-offer-card p {
  margin: 0 0 18px;
}

.mdr-feature-card a {
  color: #0b587a;
  font-weight: 900;
}

.mdr-offer-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0b587a;
  background: #eaf4fa;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mdr-offer-card strong {
  color: #0a8f87;
}

.mdr-trust-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 42px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(135deg, #0b587a, #0a8f87);
  box-shadow: 0 22px 62px rgba(9, 50, 74, 0.13);
}

.mdr-trust-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border: 60px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.mdr-trust-panel .mdr-eyebrow {
  color: #0b587a;
}

.mdr-trust-panel h2,
.mdr-trust-panel p {
  color: #fff;
}

.mdr-trust-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.mdr-trust-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mdr-trust-list div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.mdr-contact-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 0 0, rgba(35, 167, 200, 0.16), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(238, 95, 143, 0.16), transparent 46%),
    #fff;
}

.mdr-contact-copy h2 {
  margin: 18px 0 16px;
}

.mdr-contact-copy p {
  max-width: 540px;
  margin: 0;
  font-size: 1.08rem;
}

.mdr-form-note {
  margin-top: 28px;
  padding: 18px;
  border-radius: 20px;
  color: #395066;
  background: #edf6fa;
  font-size: 0.9rem;
}

.mdr-form {
  padding: 28px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(9, 50, 74, 0.08);
}

.mdr-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mdr-field {
  margin-bottom: 14px;
}

.mdr-field label {
  display: block;
  margin-bottom: 7px;
  color: #34465a;
  font-size: 0.82rem;
  font-weight: 900;
}

.mdr-form input,
.mdr-form select,
.mdr-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(23, 32, 51, 0.13);
  border-radius: 16px;
  color: #172033;
  background: #f8fbfd;
  outline: none;
}

.mdr-form textarea {
  min-height: 116px;
  padding-top: 14px;
  resize: vertical;
}

.mdr-form input:focus,
.mdr-form select:focus,
.mdr-form textarea:focus {
  border-color: rgba(35, 167, 200, 0.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 167, 200, 0.12);
}

.mdr-form .visually-hidden {
  width: 1px;
  min-width: 0;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
}

.mdr-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  color: #627286;
  font-size: 0.78rem;
}

.mdr-agree input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 2px;
  padding: 0;
}

.mdr-footer {
  overflow-x: hidden;
  margin-top: 0;
  padding: 54px 0;
  border-top: 0;
  color: #fff;
  background: #0d2f43;
}

.mdr-footer .brand-title {
  font-size: clamp(1.32rem, 0.55vw + 1rem, 1.62rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.mdr-footer .brand-title,
.mdr-footer .footer-column strong {
  color: #fff;
}

.mdr-footer .footer-brand p,
.mdr-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.mdr-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 30px;
}

/* ============================================
   [PR-1] Типографика mdr
   ============================================ */
.mdr-h1,
.mdr-hero-card h1,
.mdr-section-head h2,
.mdr-trust-panel h2,
.mdr-contact-copy h2 {
  font-family: "Source Serif 4", "PT Serif", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--mdr-ink);
}

.mdr-hero-card h1 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); line-height: 1.04; }
.mdr-section-head h2,
.mdr-trust-panel h2,
.mdr-contact-copy h2 { font-size: clamp(1.625rem, 2.8vw, 2.625rem); line-height: 1.12; }

.mdr-h3,
.mdr-scenario-card h3,
.mdr-feature-card h3,
.mdr-offer-card h3 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--mdr-ink);
}

/* ============================================
   [PR-1] Кнопки mdr — единая иерархия
   ============================================ */
.mdr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .15s ease;
}
.mdr-btn:hover { transform: translateY(-1px); }
.mdr-btn:focus-visible {
  outline: 2px solid var(--mdr-teal-deep);
  outline-offset: 2px;
}

.mdr-btn--primary {
  background: var(--mdr-teal-deep);
  color: #fff;
}
.mdr-btn--primary:hover { background: #0c5f59; }

.mdr-btn--warm {
  background: var(--mdr-warm);
  color: #fff;
}
.mdr-btn--warm:hover { background: var(--mdr-warm-deep); }

.mdr-btn--secondary {
  background: #fff;
  color: var(--mdr-teal-deep);
  border-color: var(--mdr-teal-deep);
}
.mdr-btn--secondary:hover { background: var(--mdr-teal-soft); }

.mdr-btn--ghost {
  background: transparent;
  color: var(--mdr-ink);
  padding-left: 0;
  padding-right: 0;
  min-height: auto;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}
.mdr-btn--ghost:hover { color: var(--mdr-teal-deep); }

.mdr-btn--full { width: 100%; }

/* ============================================
   [PR-1] Шапка: двухуровневая
   ============================================ */
body { padding-top: 124px; }

.mdr-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--mdr-surface-strong);
  border-bottom: 1px solid var(--mdr-line);
}

.mdr-topbar__row--upper {
  background: var(--mdr-surface-section);
  border-bottom: 1px solid var(--mdr-line);
}
.mdr-topbar__upper {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 40px;
  font-size: 0.875rem;
}

.mdr-audience { display: inline-flex; gap: 2px; }
.mdr-audience__link {
  padding: 8px 14px;
  color: var(--mdr-muted);
  font-weight: 600;
  border-radius: 999px;
  transition: background .18s, color .18s;
  text-decoration: none;
}
.mdr-audience__link:hover { color: var(--mdr-teal-deep); }
.mdr-audience__link.is-active {
  background: var(--mdr-teal-soft);
  color: var(--mdr-teal-deep);
}

.mdr-topbar__contacts {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--mdr-muted);
}
.mdr-topbar__phone { font-weight: 700; color: var(--mdr-ink); text-decoration: none; }
.mdr-topbar__mail { color: var(--mdr-muted); text-decoration: none; }
.mdr-topbar__phone:hover, .mdr-topbar__mail:hover { color: var(--mdr-teal-deep); }

.mdr-topbar__auth {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mdr-topbar__auth .mdr-btn { min-height: 36px; padding: 8px 16px; font-size: .875rem; }

.mdr-topbar__lower {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}
.mdr-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--mdr-ink);
}
.mdr-topbar__logo { width: 40px; height: 40px; object-fit: contain; }
.mdr-topbar__brandname { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; }

.mdr-mainnav { display: flex; gap: 4px; flex-wrap: wrap; }
.mdr-mainnav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--mdr-ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.mdr-mainnav a:hover { background: var(--mdr-teal-soft); color: var(--mdr-teal-deep); }
.mdr-mainnav a.is-active { color: var(--mdr-teal-deep); background: var(--mdr-teal-soft); }

.mdr-topbar__burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--mdr-line);
  background: #fff;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.mdr-topbar__burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--mdr-ink);
  border-radius: 2px;
}

.mdr-mobile { background: #fff; border-top: 1px solid var(--mdr-line); }
.mdr-mobile[hidden] { display: none; }
.mdr-mobile__inner {
  padding: 16px 0 24px;
  display: grid;
  gap: 20px;
}
.mdr-mobile__group { display: grid; gap: 4px; }
.mdr-mobile__title {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--mdr-muted);
  padding: 6px 0;
}
.mdr-mobile__group a {
  padding: 10px 0;
  color: var(--mdr-ink);
  font-weight: 600;
  text-decoration: none;
}
.mdr-mobile__group a:hover { color: var(--mdr-teal-deep); }

@media (max-width: 1024px) {
  .mdr-topbar__contacts { display: none; }
}
@media (max-width: 860px) {
  body { padding-top: 64px; }
  .mdr-topbar__row--upper { display: none; }
  .mdr-mainnav { display: none; }
  .mdr-topbar__burger { display: inline-flex; }
  .mdr-topbar__lower { min-height: 64px; }
}

@media (max-width: 1280px) {
  .mdr-header-top {
    grid-template-columns: minmax(230px, 280px) 180px minmax(0, 1fr) auto;
  }

  .mdr-header-mail {
    display: inline-flex;
  }

  .mdr-hero-grid {
    grid-template-columns: 1fr;
  }

  .mdr-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mdr-hero-card {
    min-height: 470px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    padding: 48px;
  }

  .mdr-hero-card h1 {
    font-size: 3.55rem;
  }

  .mdr-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdr-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) and (min-width: 1181px) {
  .mdr-hero-grid {
    grid-template-columns: minmax(720px, 1.18fr) minmax(320px, 0.54fr);
  }

  .mdr-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .mdr-hero-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .mdr-hero-card::before,
  .mdr-hero-doc {
    display: none;
  }
}

@media (max-width: 940px) {
  .mdr-header .shell,
  .mdr-footer .shell,
  .mdr-main .shell {
    width: min(100% - 28px, 1564px);
  }

  .mdr-header-top {
    min-height: 76px;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 0;
  }

  .mdr-header-phone,
  .mdr-header-top > .mdr-header-mail,
  .mdr-header-top > .mdr-header-slogan,
  .mdr-header-region {
    display: none;
  }

  .mdr-header .site-header__toggle {
    display: flex;
  }

  .mdr-header-top-actions {
    display: none;
  }

  .mdr-hero-card {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 42px 34px;
  }

  .mdr-hero-card::before {
    display: none;
  }

  .mdr-hero-card h1 {
    font-size: 3.15rem;
  }

  .mdr-hero-card p {
    max-width: 680px;
  }

  .mdr-hero-doc {
    display: none;
  }

  .mdr-quick-grid,
  .mdr-scenario-grid,
  .mdr-trust-panel,
  .mdr-contact-card {
    grid-template-columns: 1fr;
  }

  .mdr-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdr-section-head {
    display: block;
  }

  .mdr-section-head p {
    margin-top: 14px;
  }

  .mdr-trust-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mdr-hero-band {
    padding: 24px 0 30px;
  }

  .mdr-hero-card {
    min-height: auto;
    padding: 30px 22px 32px;
    border-radius: 26px;
  }

  .mdr-hero-card h1 {
    font-size: 2.48rem;
  }

  .mdr-hero-card p {
    font-size: 1rem;
  }

  .mdr-hero-doc {
    display: none;
  }

  .mdr-hero-dots {
    left: 24px;
  }

  .mdr-actions .mdr-btn {
    width: 100%;
  }

  .mdr-quick-grid,
  .mdr-feature-grid,
  .mdr-offer-grid,
  .mdr-form-row,
  .mdr-footer-grid {
    grid-template-columns: 1fr;
  }

  .mdr-quick-card {
    min-height: 136px;
  }

  .mdr-section {
    padding: 48px 0;
  }

  .mdr-scenario-card,
  .mdr-trust-panel,
  .mdr-contact-card {
    padding: 24px;
    border-radius: 26px;
  }

  .mdr-form {
    padding: 18px;
  }

  .mdr-pink-strip .shell {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 14px 0;
    font-size: 0.95rem;
  }
}

/* Header test pages */
.header-test-page .mdr-main,
.header-test-main {
  min-height: calc(100vh - 184px);
  color: #172033;
  background:
    radial-gradient(circle at 8% 12%, rgba(35, 167, 200, 0.12), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(238, 95, 143, 0.1), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f5f9fc 100%);
}

.header-test-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 36px;
  align-items: start;
  padding: 64px 0 72px;
}

.header-test-copy h1 {
  max-width: 780px;
  margin: 14px 0 18px;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.header-test-copy p {
  max-width: 720px;
  margin: 0;
  color: #627286;
  font-size: 1.08rem;
  line-height: 1.6;
}

.header-test-tabs,
.header-test-card {
  border: 1px solid rgba(23, 32, 51, 0.1);
  background: #fff;
  box-shadow: 0 14px 34px rgba(9, 50, 74, 0.08);
}

.header-test-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 12px;
  border-radius: 18px;
}

.header-test-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #26384c;
  background: #edf4f8;
  font-weight: 900;
}

.header-test-tabs a.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0b587a, #0a8f87);
}

.header-test-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 24px;
}

.header-test-card h2 {
  margin: 0;
  font-size: 1.45rem;
}

.header-test-card p {
  margin: 0;
  color: #627286;
}

.header-test-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-test-card li {
  position: relative;
  padding-left: 20px;
  color: #34465a;
}

.header-test-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a8f87;
  content: "";
}

body.header-test-2 {
  padding-top: 154px;
}

.header-test-2 .mdr-header-top {
  grid-template-columns: minmax(240px, 320px) 190px 220px minmax(0, 1fr) auto;
  min-height: 100px;
}

.header-test-2 .mdr-header .site-header__brand {
  grid-column: 1;
  grid-row: 1;
}

.header-test-2 .mdr-header-top-actions {
  grid-column: 5;
  grid-row: 1;
}

.header-test-2 .mdr-header-phone {
  grid-column: 2;
  grid-row: 1;
}

.header-test-2 .mdr-header-mail {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.header-test-2 .mdr-header-slogan {
  grid-column: 4;
  grid-row: 1;
}

.header-test-2 .mdr-nav-wrap {
  background: #fff;
}

.header-test-2 .mdr-header .site-header__menu {
  min-height: 58px;
}

.header-test-2 .nav-dropdown__toggle,
.header-test-2 .mdr-header .site-header__nav > a {
  background: #edf4f8;
}

body.header-test-3 {
  padding-top: 146px;
}

.header-test-3 .mdr-header {
  border-bottom-color: rgba(11, 88, 122, 0.14);
}

.header-test-3 .mdr-header-top {
  grid-template-columns: minmax(240px, 300px) 190px 220px minmax(0, 1fr) auto;
  min-height: 92px;
}

.header-test-3 .mdr-header-top-actions {
  padding: 8px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 999px;
  background: #f8fbfd;
}

.header-test-3 .mdr-header-mail {
  justify-self: end;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(11, 88, 122, 0.12);
  border-radius: 999px;
  color: #0b587a;
  background: #f3f9fb;
  text-decoration: none;
}

.header-test-3 .mdr-nav-wrap {
  background: #0d2f43;
}

.header-test-3 .nav-dropdown__toggle,
.header-test-3 .mdr-header .site-header__nav > a {
  color: rgba(255, 255, 255, 0.84);
}

.header-test-3 .nav-dropdown__toggle:hover,
.header-test-3 .nav-dropdown__toggle:focus-visible,
.header-test-3 .mdr-header .site-header__nav > a:hover,
.header-test-3 .mdr-header .site-header__nav > a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1280px) and (min-width: 941px) {
  body.header-test-2 {
    padding-top: 176px;
  }

  .header-test-2 .mdr-header-top {
    grid-template-columns: minmax(230px, 280px) 180px minmax(0, 1fr) auto;
    min-height: 104px;
  }

  .header-test-2 .mdr-header-mail {
    grid-column: 3;
    grid-row: 1;
  }

  .header-test-2 .mdr-header-slogan {
    grid-column: 3;
    grid-row: 2;
  }

  .header-test-2 .mdr-header-top-actions {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  body.header-test-3 {
    padding-top: 176px;
  }

  .header-test-3 .mdr-header-top {
    grid-template-columns: minmax(230px, 280px) 180px minmax(0, 1fr) auto;
    min-height: 104px;
  }
}

@media (max-width: 940px) {
  body.header-test-page,
  body.header-test-2,
  body.header-test-3 {
    padding-top: 82px;
  }

  .header-test-2 .mdr-header .site-header__brand,
  .header-test-2 .mdr-header-top-actions,
  .header-test-2 .mdr-header-phone,
  .header-test-2 .mdr-header-mail,
  .header-test-2 .mdr-header-slogan {
    grid-column: auto;
    grid-row: auto;
  }

  .header-test-hero {
    grid-template-columns: 1fr;
    padding: 42px 0 54px;
  }

  .header-test-card {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .header-test-copy h1 {
    font-size: 2.2rem;
  }

  .header-test-tabs a {
    width: 100%;
  }
}

/* ============================================
   [PR-2] Hero v2 — двухколоночный с разводкой аудиторий
   ============================================ */
.mdr-hero-v2 {
  padding: 64px 0 56px;
  background:
    radial-gradient(80% 60% at 80% 20%, rgba(15, 118, 110, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--mdr-surface) 0%, #F4F7F5 100%);
  border-bottom: 1px solid var(--mdr-line);
}

.mdr-hero-v2__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 56px;
}

.mdr-hero-v2__copy { min-width: 0; }

.mdr-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: var(--mdr-teal-deep);
  background: var(--mdr-teal-soft);
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mdr-hero-v2__title {
  margin: 20px 0 16px;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
}

.mdr-hero-v2__lead {
  margin: 0 0 32px;
  max-width: 620px;
  color: var(--mdr-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Карточки разводки аудитории */
.mdr-audience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
}

.mdr-audience-card {
  display: grid;
  gap: 8px;
  padding: 24px 24px 20px;
  border-radius: var(--mdr-radius-md);
  border: 1px solid var(--mdr-line);
  background: var(--mdr-surface-strong);
  color: var(--mdr-ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mdr-audience-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--mdr-shadow-card);
}

.mdr-audience-card--doctor {
  background: linear-gradient(180deg, var(--mdr-teal-soft) 0%, #ECF6F3 100%);
  border-color: rgba(15, 118, 110, 0.18);
}
.mdr-audience-card--doctor:hover { border-color: var(--mdr-teal-deep); }

.mdr-audience-card--clinic {
  background: linear-gradient(180deg, var(--mdr-warm-soft) 0%, #F7ECE2 100%);
  border-color: rgba(185, 122, 87, 0.22);
}
.mdr-audience-card--clinic:hover { border-color: var(--mdr-warm); }

.mdr-audience-card__role {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--mdr-ink);
}
.mdr-audience-card__desc {
  font-size: 0.9375rem;
  color: var(--mdr-muted);
  line-height: 1.45;
}
.mdr-audience-card__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
}
.mdr-audience-card--doctor .mdr-audience-card__cta { color: var(--mdr-teal-deep); }
.mdr-audience-card--clinic .mdr-audience-card__cta { color: var(--mdr-warm-deep); }

/* Правая колонка hero — плейсхолдер иллюстрации */
.mdr-hero-v2__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
}

.mdr-hero-illu {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(15, 118, 110, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(185, 122, 87, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, var(--mdr-teal-soft) 0%, var(--mdr-surface-strong) 70%);
  border: 1px solid var(--mdr-line);
  overflow: hidden;
}
.mdr-hero-illu__circle {
  position: absolute;
  top: 18%; left: 22%;
  width: 38%; height: 38%;
  border-radius: 50%;
  border: 2px solid var(--mdr-teal-deep);
  opacity: 0.4;
}
.mdr-hero-illu__cross {
  position: absolute;
  bottom: 20%; right: 22%;
  width: 22%; height: 22%;
  background:
    linear-gradient(var(--mdr-teal-deep), var(--mdr-teal-deep)) center / 100% 14% no-repeat,
    linear-gradient(var(--mdr-teal-deep), var(--mdr-teal-deep)) center / 14% 100% no-repeat;
  opacity: 0.65;
}
.mdr-hero-illu__lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(15, 118, 110, 0.05) 0 1px, transparent 1px 14px);
  pointer-events: none;
}

/* ============================================
   [PR-2] Полоса цифр платформы
   ============================================ */
.mdr-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--mdr-line);
  border: 1px solid var(--mdr-line);
  border-radius: var(--mdr-radius-md);
  overflow: hidden;
}
.mdr-stats__item {
  background: var(--mdr-surface-strong);
  padding: 24px 20px;
  display: grid;
  gap: 6px;
}
.mdr-stats__num {
  font-family: "Source Serif 4", serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--mdr-ink);
  letter-spacing: -0.01em;
}
.mdr-stats__cap {
  font-size: 0.875rem;
  color: var(--mdr-muted);
  line-height: 1.4;
}
.mdr-stats[data-real="false"] .mdr-stats__num {
  color: var(--mdr-muted);
}

@media (max-width: 1100px) {
  .mdr-hero-v2__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mdr-hero-v2__visual { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .mdr-hero-v2 { padding: 40px 0 36px; }
  .mdr-hero-v2__grid { padding-bottom: 36px; gap: 28px; }
  .mdr-audience-split { grid-template-columns: 1fr; }
  .mdr-hero-v2__visual { display: none; }
  .mdr-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .mdr-stats__item { padding: 18px 16px; }
}

/* ============================================
   [PR-3] Аудитории — зеркальные блоки
   ============================================ */
.mdr-aud {
  padding: 80px 0;
}
.mdr-aud--doctor {
  background: var(--mdr-surface);
}
.mdr-aud--clinic {
  background: linear-gradient(180deg, var(--mdr-surface-section) 0%, #EFE9E2 100%);
}

.mdr-aud__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.mdr-aud__grid--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }

.mdr-aud__copy { min-width: 0; }

.mdr-aud__title {
  margin: 16px 0 14px;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.4vw, 2.875rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
  max-width: 620px;
}

.mdr-aud__lead {
  margin: 0 0 24px;
  max-width: 580px;
  color: var(--mdr-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.mdr-aud__list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 580px;
}
.mdr-aud__list li {
  position: relative;
  padding-left: 28px;
  color: var(--mdr-ink);
  font-size: 1rem;
  line-height: 1.5;
}
.mdr-aud__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mdr-teal-soft);
  background-image:
    linear-gradient(var(--mdr-teal-deep), var(--mdr-teal-deep)),
    linear-gradient(var(--mdr-teal-deep), var(--mdr-teal-deep));
  background-size: 8px 2px, 2px 8px;
  background-position: center, center;
  background-repeat: no-repeat;
}
.mdr-aud__list--warm li::before {
  background: var(--mdr-warm-soft);
  background-image:
    linear-gradient(var(--mdr-warm-deep), var(--mdr-warm-deep)),
    linear-gradient(var(--mdr-warm-deep), var(--mdr-warm-deep));
  background-size: 8px 2px, 2px 8px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.mdr-aud__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* eyebrow вариант для клиник */
.mdr-eyebrow--warm {
  color: var(--mdr-warm-deep);
  background: var(--mdr-warm-soft);
  border-color: rgba(185, 122, 87, 0.22);
}

/* ============================================
   [PR-3] Превью-карточки (резюме / вакансия)
   ============================================ */
.mdr-aud__preview {
  display: flex;
  justify-content: center;
}

.mdr-preview {
  width: 100%;
  max-width: 440px;
  padding: 24px;
  border-radius: var(--mdr-radius-md);
  background: var(--mdr-surface-strong);
  border: 1px solid var(--mdr-line);
  box-shadow: var(--mdr-shadow-card);
  display: grid;
  gap: 18px;
}

.mdr-preview__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mdr-preview__tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mdr-teal-soft);
  color: var(--mdr-teal-deep);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mdr-preview__tag--warm {
  background: var(--mdr-warm-soft);
  color: var(--mdr-warm-deep);
}

.mdr-preview__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mdr-success);
  font-size: 0.8125rem;
  font-weight: 600;
}
.mdr-preview__status--warm { color: var(--mdr-warm-deep); }

.mdr-preview__person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mdr-preview__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mdr-teal-soft);
  color: var(--mdr-teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mdr-preview__avatar--warm {
  background: var(--mdr-warm-soft);
  color: var(--mdr-warm-deep);
}
.mdr-preview__who { display: grid; gap: 2px; min-width: 0; }
.mdr-preview__who strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mdr-ink);
}
.mdr-preview__who span {
  font-size: 0.875rem;
  color: var(--mdr-muted);
}

.mdr-preview__rows {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--mdr-line);
  border-bottom: 1px solid var(--mdr-line);
}
.mdr-preview__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9375rem;
}
.mdr-preview__row span { color: var(--mdr-muted); }
.mdr-preview__row b { color: var(--mdr-ink); font-weight: 600; }

.mdr-preview__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mdr-preview__chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mdr-surface-section);
  color: var(--mdr-ink);
  font-size: 0.75rem;
  font-weight: 600;
}
.mdr-preview__chip--warm {
  background: var(--mdr-warm-soft);
  color: var(--mdr-warm-deep);
}

@media (max-width: 1100px) {
  .mdr-aud { padding: 64px 0; }
  .mdr-aud__grid,
  .mdr-aud__grid--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* На мобильном превью всегда после копии — переставляем порядок для clinic-блока */
  .mdr-aud--clinic .mdr-aud__grid--reverse .mdr-aud__preview { order: 2; }
  .mdr-aud--clinic .mdr-aud__grid--reverse .mdr-aud__copy { order: 1; }
}

@media (max-width: 640px) {
  .mdr-aud { padding: 48px 0; }
  .mdr-preview { padding: 20px; }
  .mdr-aud__actions .mdr-btn { width: 100%; }
}

/* ============================================
   [PR-4] «Что можно сделать» — пастельные плитки
   ============================================ */
.mdr-actions {
  display: block;
  padding: 80px 0;
  background: var(--mdr-surface);
}

.mdr-actions__head {
  max-width: 760px;
  margin: 0 0 40px;
}
.mdr-actions__title {
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
  margin: 0 0 12px;
}
.mdr-actions__lead {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.mdr-actions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mdr-tile {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 28px 24px;
  border-radius: var(--mdr-radius-md);
  border: 1px solid var(--mdr-line);
  text-decoration: none;
  color: var(--mdr-ink);
  min-height: 240px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mdr-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--mdr-shadow-card);
}

.mdr-tile--teal    { background: var(--mdr-teal-soft); }
.mdr-tile--aqua    { background: var(--mdr-teal-aqua); }
.mdr-tile--warm    { background: var(--mdr-warm-soft); }
.mdr-tile--neutral { background: var(--mdr-surface-section); }

.mdr-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--mdr-teal-deep);
}
.mdr-tile--warm .mdr-tile__icon { color: var(--mdr-warm-deep); }
.mdr-tile--neutral .mdr-tile__icon { color: var(--mdr-ink); }

.mdr-tile__title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--mdr-ink);
}
.mdr-tile__desc {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.mdr-tile__cta {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--mdr-teal-deep);
}
.mdr-tile--warm .mdr-tile__cta { color: var(--mdr-warm-deep); }
.mdr-tile--neutral .mdr-tile__cta { color: var(--mdr-ink); }

/* ============================================
   [PR-4] «Направления развития» — сетка 3×2 со счётчиками
   ============================================ */
.mdr-dir {
  padding: 80px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mdr-surface) 100%);
  border-top: 1px solid var(--mdr-line);
}

.mdr-dir__head {
  max-width: 760px;
  margin: 0 0 36px;
}
.mdr-dir__title {
  margin: 12px 0;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
}
.mdr-dir__lead {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.mdr-dir__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--mdr-line);
  border: 1px solid var(--mdr-line);
  border-radius: var(--mdr-radius-md);
  overflow: hidden;
}

.mdr-dir__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 22px;
  background: var(--mdr-surface-strong);
  text-decoration: none;
  color: var(--mdr-ink);
  transition: background .18s;
}
.mdr-dir__card:hover { background: var(--mdr-teal-soft); }

.mdr-dir__num {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 76px;
  padding: 8px 0;
}
.mdr-dir__num span {
  font-family: "Source Serif 4", serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--mdr-teal-deep);
  letter-spacing: -0.02em;
}
.mdr-dir__grid[data-real="false"] .mdr-dir__num span {
  color: var(--mdr-muted);
}

.mdr-dir__body h3 {
  margin: 0 0 4px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--mdr-ink);
}
.mdr-dir__body p {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

/* ============================================
   [PR-4] «Актуальные предложения»
   ============================================ */
.mdr-offers {
  padding: 80px 0;
  background: var(--mdr-surface-strong);
}

.mdr-offers__head {
  max-width: 760px;
  margin: 0 0 36px;
}
.mdr-offers__title {
  margin: 0 0 12px;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
}
.mdr-offers__lead {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.mdr-offers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mdr-offer {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 20px 20px 18px;
  border-radius: var(--mdr-radius-md);
  border: 1px solid var(--mdr-line);
  background: var(--mdr-surface-strong);
  transition: transform .2s, box-shadow .2s;
}
.mdr-offer:hover {
  transform: translateY(-2px);
  box-shadow: var(--mdr-shadow-card);
}

.mdr-offer__tag {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mdr-offer__tag--internship { background: var(--mdr-teal-soft); color: var(--mdr-teal-deep); }
.mdr-offer__tag--vacancy    { background: #E8EBEC;            color: var(--mdr-ink); }
.mdr-offer__tag--course     { background: var(--mdr-teal-aqua); color: var(--mdr-teal-deep); }
.mdr-offer__tag--employer   { background: var(--mdr-warm-soft); color: var(--mdr-warm-deep); }

.mdr-offer__title {
  margin: 4px 0 0;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--mdr-ink);
}
.mdr-offer__desc {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.mdr-offer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--mdr-line);
}
.mdr-offer__foot strong {
  font-weight: 700;
  color: var(--mdr-ink);
  font-size: 0.9375rem;
}
.mdr-offer__more {
  color: var(--mdr-teal-deep);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================
   [PR-4] адаптив для блоков PR-4
   ============================================ */
@media (max-width: 1100px) {
  .mdr-actions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdr-dir__grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdr-offers__grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .mdr-actions, .mdr-dir, .mdr-offers { padding: 56px 0; }
  .mdr-actions__grid,
  .mdr-offers__grid { grid-template-columns: 1fr; }
  .mdr-dir__grid    { grid-template-columns: 1fr; }
  .mdr-tile { min-height: auto; padding: 24px 20px; }
}

/* ============================================
   [PR-5] Блок доверия v2
   ============================================ */
.mdr-trust {
  padding: 80px 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(31, 143, 126, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #0E2B29 0%, #103D38 100%);
  color: #EAF5F2;
}

.mdr-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.mdr-trust__copy { min-width: 0; }

.mdr-eyebrow--on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #B7E6DC;
  border-color: rgba(183, 230, 220, 0.22);
}

.mdr-trust__title {
  margin: 16px 0 14px;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.mdr-trust__lead {
  margin: 0;
  color: rgba(234, 245, 242, 0.78);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 560px;
}

.mdr-trust__metrics {
  display: grid;
  gap: 12px;
}
.mdr-trust__metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--mdr-radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.mdr-trust__num {
  font-family: "Source Serif 4", serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  min-width: 80px;
}
.mdr-trust__metrics[data-real="false"] .mdr-trust__num {
  color: rgba(234, 245, 242, 0.5);
}

.mdr-trust__cap {
  color: rgba(234, 245, 242, 0.82);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ============================================
   [PR-5] «Документы и аккредитации»
   ============================================ */
.mdr-docs {
  padding: 80px 0;
  background: var(--mdr-surface);
}

.mdr-docs__head {
  max-width: 760px;
  margin: 0 0 36px;
}
.mdr-docs__title {
  margin: 12px 0;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
}
.mdr-docs__lead {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.mdr-docs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mdr-doc {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 24px 22px;
  border-radius: var(--mdr-radius-md);
  border: 1px solid var(--mdr-line);
  background: var(--mdr-surface-strong);
  transition: transform .18s, box-shadow .18s;
}
.mdr-doc:hover {
  transform: translateY(-2px);
  box-shadow: var(--mdr-shadow-card);
}
.mdr-doc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mdr-teal-soft);
  color: var(--mdr-teal-deep);
}
.mdr-doc__title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--mdr-ink);
}
.mdr-doc__desc {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.mdr-doc__desc b { color: var(--mdr-ink); font-weight: 700; }
.mdr-doc__desc a { color: var(--mdr-teal-deep); font-weight: 600; }
.mdr-doc__link {
  margin-top: 4px;
  color: var(--mdr-teal-deep);
  font-weight: 700;
  font-size: 0.9375rem;
}

/* ============================================
   [PR-5] Форма обратной связи v2
   ============================================ */
.mdr-contact {
  padding: 80px 0 96px;
  background: linear-gradient(180deg, var(--mdr-surface) 0%, #FFFFFF 100%);
}

.mdr-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.mdr-contact__copy { min-width: 0; }
.mdr-contact__title {
  margin: 16px 0 14px;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
}
.mdr-contact__lead {
  margin: 0 0 20px;
  color: var(--mdr-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 500px;
}
.mdr-contact__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.mdr-contact__bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--mdr-ink);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.mdr-contact__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(var(--mdr-teal-deep), var(--mdr-teal-deep)) center / 7px 1.6px no-repeat,
    linear-gradient(var(--mdr-teal-deep), var(--mdr-teal-deep)) center / 1.6px 7px no-repeat,
    var(--mdr-teal-soft);
}

.mdr-form2 {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--mdr-surface);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--mdr-radius-md);
  box-shadow: var(--mdr-shadow-card);
}

.mdr-form2__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mdr-field2 {
  display: grid;
  gap: 6px;
}
.mdr-field2 label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--mdr-ink);
  letter-spacing: 0.02em;
}
.mdr-field2 input,
.mdr-field2 select,
.mdr-field2 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--mdr-line);
  border-radius: 10px;
  background: var(--mdr-surface-strong);
  color: var(--mdr-ink);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.mdr-field2 input::placeholder,
.mdr-field2 textarea::placeholder {
  color: #A4ADAC;
}
.mdr-field2 textarea {
  resize: vertical;
  min-height: 96px;
}
.mdr-field2 input:focus,
.mdr-field2 select:focus,
.mdr-field2 textarea:focus {
  outline: none;
  border-color: var(--mdr-teal-deep);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.mdr-agree2 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 4px 0;
  font-size: 0.9375rem;
  color: var(--mdr-ink);
  line-height: 1.45;
}
.mdr-agree2 input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--mdr-teal-deep);
  cursor: pointer;
}

.mdr-form2__note {
  margin: 4px 0 0;
  color: var(--mdr-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.mdr-form2 .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1100px) {
  .mdr-trust__grid,
  .mdr-contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mdr-docs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mdr-trust,
  .mdr-docs,
  .mdr-contact { padding: 56px 0; }
  .mdr-docs__grid { grid-template-columns: 1fr; }
  .mdr-form2 { padding: 24px 20px; }
  .mdr-form2__row { grid-template-columns: 1fr; }
}

/* ============================================
   [PR-6] Футер v2
   ============================================ */
.mdr-footer2 {
  margin-top: 0;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(31, 143, 126, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #0E2B29 0%, #0A201F 100%);
  color: rgba(234, 245, 242, 0.86);
  font-family: "Manrope", sans-serif;
}

/* Верхний этаж: лого + описание + контакты */
.mdr-footer2__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(234, 245, 242, 0.10);
}

.mdr-footer2__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
}
.mdr-footer2__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.mdr-footer2__brandname {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.mdr-footer2__lead {
  margin: 0;
  max-width: 560px;
  color: rgba(234, 245, 242, 0.72);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.mdr-footer2__contacts {
  display: grid;
  gap: 4px;
  text-align: right;
}
.mdr-footer2__phone {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}
.mdr-footer2__mail {
  color: rgba(234, 245, 242, 0.7);
  font-size: 0.9375rem;
  text-decoration: none;
}
.mdr-footer2__phone:hover,
.mdr-footer2__mail:hover { color: #B7E6DC; }

/* 4 колонки */
.mdr-footer2__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 40px 0 48px;
}

.mdr-footer2__col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.mdr-footer2__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #B7E6DC;
  margin-bottom: 6px;
}

.mdr-footer2__col a {
  color: rgba(234, 245, 242, 0.86);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
  transition: color .18s;
}
.mdr-footer2__col a:hover {
  color: #FFFFFF;
}

/* Нижняя реквизитная полоса */
.mdr-footer2__bottom {
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(234, 245, 242, 0.08);
}
.mdr-footer2__bottomgrid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  font-size: 0.8125rem;
}

.mdr-footer2__legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(234, 245, 242, 0.56);
}
.mdr-footer2__legallinks {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}
.mdr-footer2__legallinks a {
  color: rgba(234, 245, 242, 0.7);
  text-decoration: none;
  transition: color .18s;
}
.mdr-footer2__legallinks a:hover {
  color: #FFFFFF;
}

@media (max-width: 1100px) {
  .mdr-footer2__top {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .mdr-footer2__contacts {
    text-align: left;
  }
  .mdr-footer2__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

@media (max-width: 640px) {
  .mdr-footer2__top { padding: 36px 0 24px; }
  .mdr-footer2__cols {
    grid-template-columns: 1fr;
    padding: 32px 0 36px;
  }
  .mdr-footer2__bottomgrid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }
}

/* ============================================
   [PR-7a] Внутренняя страница — общий каркас
   ============================================ */

/* main-обёртка для внутренних страниц с mdr-каркасом */
.mdr-pagemain {
  background: var(--mdr-surface);
}

/* Breadcrumb */
.mdr-breadcrumb {
  padding: 20px 0 0;
  background: var(--mdr-surface);
  font-size: 0.875rem;
  color: var(--mdr-muted);
}
.mdr-breadcrumb__list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mdr-breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mdr-breadcrumb__list li + li::before {
  content: "›";
  color: var(--mdr-muted);
}
.mdr-breadcrumb a {
  color: var(--mdr-muted);
  text-decoration: none;
  transition: color .18s;
}
.mdr-breadcrumb a:hover { color: var(--mdr-teal-deep); }
.mdr-breadcrumb__current { color: var(--mdr-ink); font-weight: 600; }

/* Hero страницы (общий) */
.mdr-pagehero {
  padding: 48px 0 64px;
  background: var(--mdr-surface);
}
.mdr-pagehero__head {
  max-width: 820px;
}
.mdr-pagehero__title {
  margin: 16px 0 14px;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
}
.mdr-pagehero__lead {
  margin: 0 0 28px;
  max-width: 700px;
  color: var(--mdr-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.mdr-pagehero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Цветовой акцент hero для warm-страницы (clinic) */
.mdr-pagehero--warm {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(185, 122, 87, 0.10) 0%, transparent 60%),
    var(--mdr-surface);
}

/* Блок «Что вы получите» — сетка карточек 4×1 */
.mdr-benefits {
  padding: 64px 0;
  background: var(--mdr-surface-strong);
  border-top: 1px solid var(--mdr-line);
}
.mdr-benefits__head {
  max-width: 760px;
  margin: 0 0 32px;
}
.mdr-benefits__title {
  margin: 12px 0;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
}
.mdr-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.mdr-benefit {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  padding: 22px 20px;
  border-radius: var(--mdr-radius-md);
  border: 1px solid var(--mdr-line);
  background: var(--mdr-surface);
}
.mdr-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mdr-teal-soft);
  color: var(--mdr-teal-deep);
}
.mdr-benefit--warm .mdr-benefit__icon {
  background: var(--mdr-warm-soft);
  color: var(--mdr-warm-deep);
}
.mdr-benefit h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--mdr-ink);
  line-height: 1.3;
}
.mdr-benefit p {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Блок «Как это работает» — пронумерованные шаги в строку */
.mdr-steps {
  padding: 64px 0;
  background: var(--mdr-surface);
}
.mdr-steps__head {
  max-width: 760px;
  margin: 0 0 32px;
}
.mdr-steps__title {
  margin: 12px 0;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
}
.mdr-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.mdr-step {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--mdr-radius-md);
  background: var(--mdr-surface-strong);
  border: 1px solid var(--mdr-line);
}
.mdr-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mdr-teal-deep);
  color: #FFFFFF;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 14px;
}
.mdr-steps--warm .mdr-step__num {
  background: var(--mdr-warm);
}
.mdr-step h3 {
  margin: 0 0 6px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--mdr-ink);
}
.mdr-step p {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Финальный CTA-блок */
.mdr-finalcta {
  padding: 64px 0 80px;
  background: var(--mdr-surface);
}
.mdr-finalcta__inner {
  display: grid;
  gap: 18px;
  padding: 40px 44px;
  border-radius: var(--mdr-radius-md);
  background: linear-gradient(135deg, var(--mdr-teal-soft) 0%, #DCEEEA 100%);
  border: 1px solid rgba(15, 118, 110, 0.18);
  align-items: center;
  grid-template-columns: 1fr auto;
}
.mdr-finalcta--warm .mdr-finalcta__inner {
  background: linear-gradient(135deg, var(--mdr-warm-soft) 0%, #ECDDD0 100%);
  border-color: rgba(185, 122, 87, 0.22);
}
.mdr-finalcta__title {
  margin: 0;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
  max-width: 620px;
}
.mdr-finalcta__lead {
  margin: 6px 0 0;
  color: var(--mdr-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Блок актуальных вакансий на doctors */
.mdr-related {
  padding: 64px 0;
  background: var(--mdr-surface-strong);
  border-top: 1px solid var(--mdr-line);
}
.mdr-related__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}
.mdr-related__title {
  margin: 0;
  font-family: "Source Serif 4", "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mdr-ink);
}
.mdr-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mdr-related__empty {
  padding: 32px;
  border: 1px dashed var(--mdr-line);
  border-radius: var(--mdr-radius-md);
  color: var(--mdr-muted);
  text-align: center;
}

/* Адаптив */
@media (max-width: 1100px) {
  .mdr-benefits__grid,
  .mdr-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdr-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mdr-finalcta__inner { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 640px) {
  .mdr-pagehero { padding: 32px 0 48px; }
  .mdr-benefits, .mdr-steps, .mdr-related { padding: 48px 0; }
  .mdr-finalcta { padding: 48px 0 64px; }
  .mdr-benefits__grid,
  .mdr-steps__grid,
  .mdr-related__grid { grid-template-columns: 1fr; }
  .mdr-pagehero__actions .mdr-btn { width: 100%; }
}

/* ============================================
   [PR-FIX-1] Отказ от serif. Современный sans + массивный H1
   ============================================ */

/* Глобальная семья для всей mdr-системы */
.mdr-topbar,
.mdr-hero-v2,
.mdr-aud,
.mdr-actions,
.mdr-dir,
.mdr-offers,
.mdr-trust,
.mdr-docs,
.mdr-contact,
.mdr-footer2,
.mdr-breadcrumb,
.mdr-pagehero,
.mdr-benefits,
.mdr-steps,
.mdr-related,
.mdr-finalcta {
  font-family: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Перекрытие всех serif-заголовков на sans. Перечисляем явно, чтобы перебить старые правила PR-1..PR-7. */
.mdr-hero-v2__title,
.mdr-h1,
.mdr-hero-card h1,
.mdr-section-head h2,
.mdr-trust-panel h2,
.mdr-contact-copy h2,
.mdr-aud__title,
.mdr-actions__title,
.mdr-dir__title,
.mdr-offers__title,
.mdr-trust__title,
.mdr-docs__title,
.mdr-contact__title,
.mdr-pagehero__title,
.mdr-benefits__title,
.mdr-steps__title,
.mdr-related__title,
.mdr-finalcta__title {
  font-family: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* Усиленный H1 в hero — массивный, плотный, с минусовым трекингом (синергиевский ход) */
.mdr-hero-v2__title {
  font-weight: 800 !important;
  font-size: clamp(2.5rem, 6vw, 5.5rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.035em !important;
  color: var(--mdr-ink);
}

/* H1 на внутренних страницах — тоже массивный, но чуть скромнее */
.mdr-pagehero__title {
  font-weight: 800 !important;
  font-size: clamp(2.25rem, 5vw, 4.25rem) !important;
  line-height: 1.0 !important;
  letter-spacing: -0.03em !important;
}

/* H2 секций — плотный sans без serif */
.mdr-aud__title,
.mdr-actions__title,
.mdr-dir__title,
.mdr-offers__title,
.mdr-trust__title,
.mdr-docs__title,
.mdr-contact__title,
.mdr-benefits__title,
.mdr-steps__title,
.mdr-related__title,
.mdr-finalcta__title {
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.05 !important;
}

/* Огромные цифры — Inter Black, очень плотно (как у Синергии) */
.mdr-stats__num,
.mdr-trust__num,
.mdr-dir__num span {
  font-family: "Inter", "Manrope", sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  font-feature-settings: "tnum" 1;
}

/* Чтобы цифры в .mdr-stats не выглядели «пустыми» при плейсхолдере «—»,
   делаем «—» крупнее обычного */
.mdr-stats[data-real="false"] .mdr-stats__num,
.mdr-trust__metrics[data-real="false"] .mdr-trust__num,
.mdr-dir__grid[data-real="false"] .mdr-dir__num span {
  opacity: 0.55;
}

/* Body тоже на Inter — даёт более ровный «продуктовый» рисунок (Сбер) */
body {
  font-family: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============================================
   [PR-FIX-2] Hero с фото, насыщенные плитки, чистка плейсхолдеров
   ============================================ */

/* Новый layout правой колонки hero — крупное фото */
.mdr-hero-v2__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-left: auto;
  border-radius: var(--mdr-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--mdr-teal-soft) 0%, var(--mdr-teal-aqua) 100%);
  box-shadow: var(--mdr-shadow-soft);
}

.mdr-hero-v2__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Бейдж поверх фото — «Модерация публикаций» */
.mdr-hero-v2__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Inter", "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--mdr-ink);
  box-shadow: 0 8px 24px rgba(14, 27, 26, 0.08);
}
.mdr-hero-v2__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mdr-success);
  box-shadow: 0 0 0 3px rgba(31, 143, 126, 0.18);
}

/* Скрыть старый CSS-плейсхолдер иллюстрации (на случай если CSS остался, но в HTML его уже нет) */
.mdr-hero-illu { display: none; }

/* Насыщеннее пастель в плитках «Что можно сделать».
   Старые правила окрашивали по var(--mdr-*-soft) — оттенок слишком бледный.
   Переписываем на конкретные более плотные значения. */
.mdr-tile--teal {
  background: #CDE8E2;
  border-color: rgba(15, 118, 110, 0.20);
}
.mdr-tile--aqua {
  background: #C6E1DA;
  border-color: rgba(15, 118, 110, 0.18);
}
.mdr-tile--warm {
  background: #EBD5BF;
  border-color: rgba(185, 122, 87, 0.28);
}
.mdr-tile--neutral {
  background: #E3E3DC;
  border-color: rgba(20, 48, 62, 0.16);
}

/* Иконка плитки на более плотном фоне — белая подложка читается лучше */
.mdr-tile__icon {
  background: rgba(255, 255, 255, 0.9);
}

/* Чистка opacity для блоков с цифрами — раньше при data-real="false"
   цифры были полупрозрачные. Теперь цифры реальные → полная непрозрачность. */
.mdr-stats[data-real="false"] .mdr-stats__num,
.mdr-trust__metrics[data-real="false"] .mdr-trust__num,
.mdr-dir__grid[data-real="false"] .mdr-dir__num span {
  opacity: 1;
}
/* На всякий случай — общая цветность цифр */
.mdr-stats__num,
.mdr-trust__num,
.mdr-dir__num span {
  opacity: 1;
}

/* Адаптив фото-колонки */
@media (max-width: 1100px) {
  .mdr-hero-v2__visual {
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
  }
}
@media (max-width: 860px) {
  /* Раньше в PR-2 было display:none для мобильного. Перебиваем. */
  .mdr-hero-v2__visual {
    display: block !important;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  .mdr-hero-v2__badge {
    font-size: 0.8125rem;
    padding: 8px 12px;
  }
}

/* ============================================
   [PR-MENU] Главное меню с дропдаунами
   ============================================ */

.mdr-mainnav {
  display: flex;
  gap: 2px;
  flex-wrap: nowrap;
  align-items: center;
}

/* Прямые ссылки (без дропдауна) */
.mdr-nav__link {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--mdr-ink);
  font-family: "Inter", "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.mdr-nav__link:hover {
  background: var(--mdr-teal-soft);
  color: var(--mdr-teal-deep);
}
.mdr-nav__link.is-active {
  background: var(--mdr-teal-soft);
  color: var(--mdr-teal-deep);
}

/* Пункт с выпадающим меню */
.mdr-nav__item {
  position: relative;
}
.mdr-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: var(--mdr-ink);
  font-family: "Inter", "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.mdr-nav__btn:hover,
.mdr-nav__btn.is-active {
  background: var(--mdr-teal-soft);
  color: var(--mdr-teal-deep);
}
.mdr-nav__btn svg { transition: transform .18s; opacity: 0.6; }
.mdr-nav__item--has-menu:hover .mdr-nav__btn svg,
.mdr-nav__item.is-open .mdr-nav__btn svg {
  transform: rotate(180deg);
}

/* Само выпадающее меню */
.mdr-nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  background: var(--mdr-surface-strong);
  border: 1px solid var(--mdr-line);
  border-radius: var(--mdr-radius-md);
  box-shadow: var(--mdr-shadow-soft);
  display: none;
  z-index: 60;
}
.mdr-nav__item:hover .mdr-nav__menu,
.mdr-nav__item:focus-within .mdr-nav__menu,
.mdr-nav__item.is-open .mdr-nav__menu {
  display: grid;
  gap: 2px;
}
.mdr-nav__menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--mdr-ink);
  font-family: "Inter", "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background .14s, color .14s;
}
.mdr-nav__menu a:hover {
  background: var(--mdr-teal-soft);
  color: var(--mdr-teal-deep);
}

/* Широкое двухколоночное меню (для Авторских курсов) */
.mdr-nav__menu--wide {
  min-width: 460px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
}
.mdr-nav__item:hover .mdr-nav__menu--wide,
.mdr-nav__item:focus-within .mdr-nav__menu--wide,
.mdr-nav__item.is-open .mdr-nav__menu--wide {
  display: grid;
}
.mdr-nav__col { display: grid; gap: 2px; }
.mdr-nav__coltitle {
  padding: 4px 12px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mdr-muted);
}

/* Узкий брейкпоинт — даём горизонтальный скролл, чтобы не ломать в перенос */
@media (min-width: 861px) and (max-width: 1280px) {
  .mdr-topbar__lower {
    gap: 16px;
  }
  .mdr-mainnav {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: calc(100vw - 280px);
  }
  .mdr-mainnav::-webkit-scrollbar { display: none; }
  .mdr-nav__link,
  .mdr-nav__btn { font-size: 0.85rem; padding: 8px 10px; }
}

/* Мобильное меню — раскрывающиеся группы (опционально, для PR-MENU оставляем плоский список) */
@media (max-width: 860px) {
  .mdr-mainnav { display: none; }
}

/* ============================================
   [PR-HEADER-V3] Бренд и бургер переехали в верхний этаж.
   Нижний этаж — только .mdr-mainnav, распределённое по всей ширине shell.
   Заменяет PR-HEADER-V2.
   ============================================ */

/* Высота body учитывает оба этажа: верх 56 + низ 48 + рамки */
body { padding-top: 112px; }

/* === ВЕРХНИЙ ЭТАЖ === */

.mdr-topbar__upper {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 56px;
}

/* Бренд — слева, не сжимается */
.mdr-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--mdr-ink);
}
.mdr-topbar__logo { width: 32px; height: 32px; object-fit: contain; }
.mdr-topbar__brandname {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

/* Аудитория и секундарная — компактные, рядом с брендом */
.mdr-topbar__upper .mdr-audience { gap: 2px; }

.mdr-topbar__secondary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--mdr-line);
}
.mdr-topbar__secondary-link {
  color: var(--mdr-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.mdr-topbar__secondary-link:hover { color: var(--mdr-ink); }
.mdr-topbar__secondary-link.is-active {
  color: var(--mdr-teal-deep);
  font-weight: 600;
}

/* Контакты — прижаты вправо, шрифт компактный */
.mdr-topbar__contacts {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--mdr-muted);
  font-size: 0.875rem;
}

/* Auth — справа за контактами */
.mdr-topbar__auth { gap: 8px; }

/* Бургер в верхнем этаже — по умолчанию скрыт */
.mdr-topbar__burger { display: none; }

/* === НИЖНИЙ ЭТАЖ — ТОЛЬКО МЕНЮ === */

.mdr-topbar__lower {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 0;
}

/* Меню — занимает всю ширину shell, пункты распределены по всей строке */
.mdr-mainnav {
  flex: 1 1 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
}

/* Пункты меню */
.mdr-nav__link,
.mdr-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  font-family: "Inter", "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--mdr-ink);
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.mdr-nav__link:hover,
.mdr-nav__btn:hover {
  background: rgba(15, 118, 110, 0.07);
  color: var(--mdr-teal-deep);
}
.mdr-nav__link.is-active,
.mdr-nav__btn.is-active {
  background: rgba(15, 118, 110, 0.10);
  color: var(--mdr-teal-deep);
  font-weight: 600;
}
.mdr-nav__btn svg { width: 9px; height: 5px; opacity: 0.55; }

/* === БРЕЙКПОИНТЫ === */

/* ≥1440 — расширяем shell, чтобы воздух в верхнем этаже */
@media (min-width: 1440px) {
  .mdr-topbar__row .shell {
    width: min(1340px, calc(100% - 40px));
  }
}

/* 1100–1279 — компактим: бренд только иконкой, email скрыт, секундарная скрыта */
@media (max-width: 1279px) {
  .mdr-topbar__brandname { display: none; }
  .mdr-topbar__mail { display: none; }
  .mdr-topbar__secondary { display: none; }
  .mdr-topbar__upper { gap: 14px; }
  .mdr-nav__link,
  .mdr-nav__btn {
    padding: 7px 8px;
    font-size: 0.85rem;
  }
  .mdr-mainnav { gap: 4px; }
}

/* ≤1099 — уходим в бургер: видны только бренд + auth + бургер */
@media (max-width: 1099px) {
  body { padding-top: 64px; }
  .mdr-topbar__row--lower { display: none; }
  .mdr-topbar__upper { min-height: 60px; gap: 12px; }
  .mdr-audience { display: none; }
  .mdr-topbar__contacts { display: none; }
  .mdr-topbar__auth { display: none; }
  .mdr-topbar__burger {
    display: inline-flex;
    margin-left: auto;
  }
  .mdr-topbar__brandname { display: inline; }
}
