:root {
  --department-ink: #102033;
  --department-muted: #6f8194;
  --department-line: #d9e7ee;
  --department-soft: #f7fbfd;
  --department-accent: #0b9aae;
  --department-accent-dark: #087f92;
  --department-shadow: 0 24px 54px rgba(21, 60, 79, 0.1);
}

.service-department-page {
  margin: 0;
  color: var(--department-ink);
  background:
    radial-gradient(circle at top left, rgba(197, 229, 241, 0.42), transparent 30%),
    linear-gradient(180deg, #f7fbfd 0%, #fdfefe 26%, #f6fafc 100%);
  font-family: "Inter", Arial, sans-serif;
}

.service-department-page .container {
  width: min(100% - 48px, 1280px) !important;
  margin: 0 auto;
}

.service-department-main {
  padding: calc(88px + 36px) 0 132px;
}

.service-department-shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-department-page .breadcrumbs {
  margin-bottom: 0;
}

.department-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 30px;
  align-items: stretch;
  padding: 42px;
  border: 1px solid rgba(217, 231, 238, 0.88);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--department-shadow);
}

.department-hero::after {
  content: "";
  position: absolute;
  inset: auto -90px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 206, 225, 0.34) 0%, rgba(160, 206, 225, 0) 68%);
  pointer-events: none;
}

.department-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-top: 8px;
}

.department-hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #7b8646;
  background: #f6fdb8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.department-hero-title {
  margin: 0;
  max-width: 680px;
  color: #372e2d;
  font-size: clamp(40px, 3.8vw, 56px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.department-hero-copy p {
  max-width: 580px;
  margin: 0;
  color: #35506a;
  font-size: 19px;
  line-height: 1.52;
}

.department-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.department-hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 18px;
  color: #173650;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}

.department-hero-link.btn-outline {
  border-color: rgba(176, 206, 222, 0.95);
  color: #32506b;
  background: rgba(255, 255, 255, 0.96);
}

.department-hero-link.btn-outline:hover,
.department-hero-link.btn-outline:focus-visible {
  border-color: rgba(121, 184, 206, 0.95);
  color: #1c3f58;
  background: #ffffff;
}

.department-hero-link--primary {
  min-width: 240px;
  border-color: #372e2d;
  background: #372e2d;
  color: #ffffff;
}

.department-hero-link--primary:hover,
.department-hero-link--primary:focus-visible {
  border-color: #f86076;
  background: #f86076;
  color: #ffffff;
}

.department-hero-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #c6d6e6 0%, #91b2cd 100%);
}

.department-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.department-offers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 229, 240, 0.92);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--department-shadow);
}

.department-offers-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 38px 36px 34px;
  background:
    linear-gradient(180deg, rgba(247, 251, 253, 0.96) 0%, rgba(241, 247, 251, 0.96) 100%);
}

.department-offers-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(204, 220, 230, 0.92);
}

.department-section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: #7b8646;
  background: #f6fdb8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.department-section-title {
  margin: 0;
  color: #372e2d;
  font-family: inherit;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.department-offers-head h2 {
  margin: 16px 0 0;
  max-width: 560px;
}

.department-offers-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 8px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #f1dcdf, #f1dcdf);
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(22, 185, 208, 0.26);
}

.department-offers-list {
  display: flex;
  flex-direction: column;
}

.department-offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid rgba(204, 220, 230, 0.92);
}

.department-offer-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.department-offer-main h3 {
  margin: 0 0 12px;
  color: #372e2d;
  font-size: 22px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.department-offer-main p {
  max-width: 620px;
  margin: 0;
  color: #405974;
  font-size: 17px;
  line-height: 1.58;
}

.department-offer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  min-width: 196px;
  padding-top: 2px;
}

.department-offer-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.department-offer-price strong {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: #173650;
  background: #eef4f8;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.department-offer-price span {
  color: #74859a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.department-offer-link {
  color: #0b79ff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.department-offers-note {
  margin-top: 6px;
  padding: 20px 22px;
  border-radius: 22px;
  color: #55626f;
  background: linear-gradient(180deg, rgba(253, 239, 243, 0.96) 0%, rgba(247, 228, 234, 0.96) 100%);
  font-size: 15px;
  line-height: 1.55;
}

.department-offers-media {
  position: relative;
  min-height: 100%;
  background: #bfd4e2;
}

.department-offers-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.department-symptoms {
  padding: 30px;
  border: 1px solid rgba(215, 229, 240, 0.92);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--department-shadow);
}

.department-symptoms-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.department-symptoms-arrows {
  display: inline-flex;
  gap: 10px;
}

.department-symptoms-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(210, 223, 233, 0.98);
  border-radius: 50%;
  color: #6a7f94;
  background: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.department-symptoms-arrow:hover,
.department-symptoms-arrow:focus-visible {
  color: #1b91ad;
  border-color: rgba(143, 198, 217, 0.98);
  transform: translateY(-1px);
}

.department-symptoms-arrow:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.department-symptoms-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 286px);
  gap: 14px;
  padding: 8px 0 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.department-symptoms-grid::-webkit-scrollbar {
  display: none;
}

.department-symptom-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 229, 240, 0.98);
  border-radius: 24px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(173, 190, 207, 0.1);
  scroll-snap-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.department-symptom-card:hover,
.department-symptom-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(143, 198, 217, 0.98);
  box-shadow: 0 18px 34px rgba(146, 183, 207, 0.16);
}

.department-symptom-media {
  padding: 50px;
  aspect-ratio: 1.28 / 1;
  background: linear-gradient(180deg, #edf5fa 0%, #d9e7f1 100%);
}

.department-symptom-media img,
.department-symptom-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.department-symptom-media svg {
  stroke: #f1dcdf;
  stroke-width: 1.8;
  fill: none;
}

.department-symptom-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 16px;
}

.department-symptom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #18adc2;
  background: linear-gradient(180deg, #eefbfd 0%, #e7f6fb 100%);
}

.department-symptom-icon svg {
  width: 23px;
  height: 23px;
}

.department-symptom-icon path,
.department-symptom-icon circle,
.department-symptom-icon rect {
  stroke: currentColor;
}

.department-symptom-body h3 {
  margin: 0;
  color: #372e2d;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.department-symptom-link {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #7b8646;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.department-symptom-card:hover .department-symptom-link,
.department-symptom-card:focus-visible .department-symptom-link {
  transform: translateX(3px);
  background: #7b8646;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(123, 134, 70, 0.24);
}

.department-about {
  display: grid;
  grid-template-columns: minmax(320px, 540px) 1fr;
  align-items: stretch;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(215, 229, 240, 0.92);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(228, 243, 251, 0.9) 0%, rgba(228, 243, 251, 0) 32%),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--department-shadow);
}

.department-about-media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 100%;
  background: linear-gradient(180deg, #edf5fa 0%, #dceaf2 100%);
}

.department-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.department-about-copy {
  display: grid;
  gap: 18px;
}

.department-about-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: #7b8646;
  background: #f6fdb8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.department-about-copy p {
  margin: 0;
  max-width: 720px;
  color: #485d73;
  font-size: 20px;
  line-height: 1.58;
}

.department-about-list {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.department-about-list li {
  position: relative;
  padding-left: 42px;
  color: #223750;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 500;
}

.department-about-list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f86076;
  box-shadow: 0 8px 16px rgba(248, 96, 118, 0.24);
}

.department-about-list li::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.department-process {
  padding: 34px;
  border: 1px solid rgba(215, 229, 240, 0.92);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--department-shadow);
}

.department-process-heading {
  margin: 0 0 28px;
  color: #372e2d;
  text-align: center;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.department-process-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.department-process-media {
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, #edf5fa 0%, #dceaf2 100%);
  min-height: 100%;
}

.department-process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.department-process-copy {
  display: grid;
  gap: 20px;
}

.department-process-copy h3 {
  margin: 0;
  color: #372e2d;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.department-process-copy > p {
  margin: 0;
  color: #465b71;
  font-size: 18px;
  line-height: 1.66;
}

.department-process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: department-process-step;
}

.department-process-list li {
  position: relative;
  padding-left: 60px;
  color: #223750;
  font-size: 18px;
  line-height: 1.62;
}

.department-process-list li::before {
  counter-increment: department-process-step;
  content: counter(department-process-step);
  position: absolute;
  top: 2px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #ffffff;
  background: #f86076;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(248, 96, 118, 0.24);
}

.department-process-list strong {
  color: #372e2d;
}

.department-process-note {
  padding: 22px 24px;
  border-radius: 24px;
  color: #486072;
  background: #f1dcdf;
  font-size: 17px;
  line-height: 1.62;
}

.department-recovery {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  justify-items: end;
  min-height: 560px;
  padding: 38px;
  border: 1px solid rgba(215, 229, 240, 0.92);
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(16, 20, 32, 0.22) 0%, rgba(16, 20, 32, 0.12) 38%, rgba(16, 20, 32, 0.1) 100%),
    url("./assets/history-client/leninsky/history-clin-leninsk_03.webp") center/cover no-repeat;
  box-shadow: var(--department-shadow);
}

.department-recovery-card {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  display: grid;
  gap: 22px;
  padding: 40px 44px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(18, 36, 56, 0.14);
}

.department-recovery-title {
  margin: 0;
  color: #372e2d;
  font-size: clamp(34px, 3vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.department-recovery-text {
  margin: 0;
  color: #43586f;
  font-size: 18px;
  line-height: 1.66;
}

.department-recovery-doctor {
  display: flex;
  align-items: center;
  gap: 16px;
}

.department-recovery-doctor-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.department-recovery-doctor-copy {
  display: grid;
  gap: 4px;
}

.department-recovery-doctor-copy strong {
  color: #372e2d;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
}

.department-recovery-doctor-copy span {
  color: #4d6278;
  font-size: 18px;
  line-height: 1.4;
}

.department-recovery-link {
  width: fit-content;
  min-width: 220px;
  background: #372e2d;
  border-color: #372e2d;
  color: #ffffff;
}

.department-recovery-link:hover,
.department-recovery-link:focus-visible {
  background: #f86076;
  border-color: #f86076;
  color: #ffffff;
}

.department-pricing {
  padding: 34px;
  border: 1px solid rgba(215, 229, 240, 0.92);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--department-shadow);
}

.department-pricing-shell {
  display: grid;
  gap: 30px;
}

.department-pricing-head {
  align-items: center;
  text-align: center;
}

.department-pricing-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(320px, 1fr);
  overflow: hidden;
  border-radius: 30px;
  background: #f1dcdf;
}

.department-pricing-intro-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 38px 40px;
}

.department-pricing-intro-copy h3 {
  margin: 0;
  color: #372e2d;
  font-size: clamp(32px, 2.8vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.department-pricing-intro-copy p {
  margin: 0;
  color: #43586f;
  font-size: 18px;
  line-height: 1.66;
}

.department-pricing-intro-media {
  min-height: 100%;
  background: #d9e7f1;
}

.department-pricing-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.department-pricing-list {
  display: grid;
  gap: 18px;
}

.department-pricing-item {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(216, 229, 239, 0.96);
  background: linear-gradient(180deg, #f2f6fa 0%, #edf3f8 100%);
}

.department-pricing-item .therapy-pricing-toggle {
  padding: 30px 32px;
  background: transparent;
}

.department-pricing-item .therapy-pricing-name {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.department-pricing-count {
  color: #98a4b3;
  font-size: 0.9em;
  font-weight: 700;
}

.department-pricing-item .therapy-pricing-panel {
  padding: 0;
  background: transparent;
}

.department-pricing-rows {
  display: grid;
}

.department-pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 26px 32px;
  border-top: 1px solid rgba(214, 226, 236, 0.92);
  background: rgba(255, 255, 255, 0.78);
}

.department-pricing-row:nth-child(odd) {
  background: rgba(246, 249, 252, 0.95);
}

.department-pricing-row-main h3 {
  margin: 0 0 10px;
  color: #372e2d;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.department-pricing-row-main p {
  margin: 0;
  max-width: 760px;
  color: #50657c;
  font-size: 17px;
  line-height: 1.6;
}

.department-pricing-row-side {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: flex-end;
  min-width: 250px;
}

.department-pricing-row-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  color: #ffffff;
  background: #372e2d;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(55, 46, 45, 0.2);
}

.department-pricing-row-book:hover,
.department-pricing-row-book:focus-visible {
  transform: translateY(-1px);
  background: #f86076;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(248, 96, 118, 0.26);
}

.department-pricing-row-side strong {
  color: #372e2d;
  white-space: nowrap;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.department-pricing-row-note {
  color: #97a3b1;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.department-surgeons-section {
  padding: 30px;
  border: 1px solid rgba(215, 229, 240, 0.92);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(226, 243, 250, 0.88) 0%, rgba(226, 243, 250, 0) 30%),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--department-shadow);
}

.department-surgeons-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  justify-content: stretch;
}

.department-surgeons-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.department-surgeons-title {
  margin: 0;
  white-space: nowrap;
}

.department-surgeons-footer {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.department-articles {
  padding: 34px;
  border: 1px solid rgba(215, 229, 240, 0.92);
  border-radius: 32px;
  background:
    radial-gradient(circle at top center, rgba(228, 244, 251, 0.66) 0%, rgba(228, 244, 251, 0) 34%),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--department-shadow);
}

.department-articles-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.department-articles-title {
  margin: 0;
  color: #101828;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
}

.department-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.department-article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(214, 229, 240, 0.95);
  border-radius: 28px;
  background: linear-gradient(180deg, #f3f7fc 0%, #eef5fb 100%);
  box-shadow: 0 18px 42px rgba(30, 74, 110, 0.07);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.department-article-card:hover,
.department-article-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(30, 186, 241, 0.32);
  box-shadow: 0 22px 46px rgba(30, 74, 110, 0.11);
}

.department-article-media {
  overflow: hidden;
}

.department-article-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.department-article-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.department-article-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
}

.department-article-card--featured .department-article-media img {
  height: 100%;
  aspect-ratio: auto;
}

.department-article-card--featured .department-article-copy {
  padding: 26px 28px 24px;
}

.department-article-date {
  display: block;
  color: #9ca8b7;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.department-article-copy h3 {
  margin: 0;
  color: #1a2233;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.department-article-card:not(.department-article-card--featured) .department-article-copy h3 {
  font-size: 22px;
  line-height: 1.18;
}

.department-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.department-article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #283346;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.department-surgeons-all-link {
  flex: 0 0 auto;
  min-width: 180px;
  background: #372e2d;
  border-color: #372e2d;
  color: #ffffff;
}

.department-surgeons-all-link:hover,
.department-surgeons-all-link:focus-visible {
  background: #f86076;
  border-color: #f86076;
  color: #ffffff;
}

.department-surgeons-section .department-surgeons-cards {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 276px));
  justify-content: start;
}

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

  .department-hero-media {
    min-height: 360px;
  }

  .department-offers {
    grid-template-columns: 1fr;
  }

  .department-offers-media {
    min-height: 380px;
  }

  .department-symptoms-grid {
    grid-auto-columns: minmax(232px, 250px);
  }

  .department-about {
    grid-template-columns: 1fr;
  }

  .department-about-media {
    min-height: 320px;
  }

  .department-process-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .department-process-media {
    min-height: 360px;
  }

  .department-recovery {
    justify-items: stretch;
    min-height: 0;
    padding: 30px;
  }

  .department-recovery-card {
    width: min(100%, 760px);
  }

  .department-pricing-intro {
    grid-template-columns: 1fr;
  }

  .department-pricing-intro-media {
    min-height: 340px;
  }

  .department-pricing-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .department-pricing-row-side {
    justify-content: space-between;
    min-width: 0;
  }

  .department-surgeons-layout {
    grid-template-columns: 1fr;
  }

  .department-surgeons-head {
    align-items: start;
    flex-direction: column;
  }

  .department-surgeons-footer {
    justify-content: center;
  }

  .department-surgeons-title {
    white-space: normal;
  }

  .department-surgeons-section .department-surgeons-cards {
    grid-template-columns: repeat(2, minmax(0, 276px));
    justify-content: start;
  }

  .department-articles {
    padding: 28px;
    border-radius: 28px;
  }

  .department-articles-head {
    justify-content: flex-start;
    margin-bottom: 22px;
  }

  .department-articles-title {
    text-align: left;
  }

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

  .department-article-card--featured {
    grid-column: 1 / -1;
  }

  .department-article-copy h3 {
    font-size: 26px;
  }

  .department-article-card:not(.department-article-card--featured) .department-article-copy h3 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .service-department-page .container {
    width: min(100% - 28px, 1280px) !important;
  }

  .service-department-main {
    padding: calc(72px + 22px) 0 104px;
  }

  .service-department-shell {
    gap: 18px;
  }

  .department-hero {
    gap: 22px;
    padding: 22px;
    border-radius: 24px;
  }

  .department-hero-kicker {
    min-height: 32px;
    font-size: 12px;
  }

  .department-hero-title {
    font-size: 34px;
    line-height: 0.98;
  }

  .department-hero-copy p,
  .department-placeholder p {
    font-size: 15px;
  }

  .department-hero-link {
    width: 100%;
    min-width: 0;
  }

  .department-hero-media {
    min-height: 280px;
    border-radius: 20px;
  }

  .department-offers {
    border-radius: 24px;
  }

  .department-offers-copy {
    gap: 22px;
    padding: 24px 20px 22px;
  }

  .department-offers-head {
    gap: 14px;
    padding-bottom: 16px;
  }

  .department-offers-head h2 {
    margin-top: 12px;
  }

  .department-offers-badge {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 18px;
  }

  .department-offer-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
  }

  .department-offer-main h3 {
    font-size: 21px;
  }

  .department-offer-main p,
  .department-offers-note {
    font-size: 15px;
  }

  .department-offer-side,
  .department-offer-price {
    align-items: flex-start;
    text-align: left;
  }

  .department-offer-price strong {
    font-size: 20px;
  }

  .department-offers-media {
    min-height: 260px;
  }

  .department-symptoms {
    padding: 22px 0 22px 20px;
    border-radius: 24px;
  }

  .department-symptoms-head {
    margin-bottom: 18px;
    padding-right: 20px;
  }

  .department-symptoms-arrows {
    display: none;
  }

  .department-symptoms-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(228px, 228px);
    overflow-x: auto;
    gap: 12px;
    padding-right: 20px;
    scrollbar-width: none;
  }

  .department-symptoms-grid::-webkit-scrollbar {
    display: none;
  }

  .department-symptom-card {
    border-radius: 22px;
  }

  .department-symptom-body {
    gap: 14px;
    padding: 16px;
  }

  .department-symptom-body h3 {
    font-size: 20px;
  }

  .department-symptom-link {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .department-about {
    gap: 22px;
    padding: 22px;
    border-radius: 24px;
  }

  .department-about-media {
    min-height: 240px;
    border-radius: 20px;
  }

  .department-about-kicker {
    min-height: 32px;
    font-size: 12px;
  }

  .department-about-copy {
    gap: 14px;
  }

  .department-about-copy p {
    font-size: 15px;
    line-height: 1.58;
  }

  .department-about-list {
    gap: 12px;
    margin-top: 2px;
  }

  .department-about-list li {
    padding-left: 34px;
    font-size: 15px;
    line-height: 1.45;
  }

  .department-about-list li::before {
    top: 1px;
    width: 22px;
    height: 22px;
  }

  .department-about-list li::after {
    top: 9px;
    left: 7px;
    width: 7px;
    height: 4px;
  }

  .department-process {
    padding: 22px;
    border-radius: 24px;
  }

  .department-process-heading {
    margin-bottom: 20px;
    text-align: left;
  }

  .department-process-shell {
    gap: 22px;
  }

  .department-process-media {
    min-height: 220px;
    border-radius: 24px;
  }

  .department-process-copy {
    gap: 16px;
  }

  .department-process-copy > p,
  .department-process-list li,
  .department-process-note {
    font-size: 16px;
  }

  .department-process-list li {
    padding-left: 50px;
  }

  .department-process-list li::before {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 15px;
  }

  .department-recovery {
    min-height: 0;
    padding: 18px;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(16, 20, 32, 0.14) 0%, rgba(16, 20, 32, 0.08) 100%),
      url("./assets/history-client/leninsky/history-clin-leninsk_03.webp") center/cover no-repeat;
  }

  .department-recovery-card {
    width: 100%;
    gap: 18px;
    padding: 22px 20px;
    border-radius: 24px;
  }

  .department-recovery-title {
    font-size: 34px;
  }

  .department-recovery-text,
  .department-recovery-doctor-copy span {
    font-size: 16px;
  }

  .department-recovery-doctor-copy strong {
    font-size: 19px;
  }

  .department-recovery-link {
    width: 100%;
    min-width: 0;
  }

  .department-articles {
    padding: 22px;
    border-radius: 24px;
  }

  .department-articles-head {
    margin-bottom: 18px;
  }

  .department-articles-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .department-article-card--featured {
    grid-template-columns: 1fr;
  }

  .department-article-card--featured .department-article-copy {
    padding: 22px;
  }

  .department-article-copy {
    gap: 14px;
    padding: 20px;
  }

  .department-article-copy h3 {
    font-size: 24px;
  }

  .department-article-card:not(.department-article-card--featured) .department-article-copy h3 {
    font-size: 20px;
  }

  .department-article-tags span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .department-pricing {
    padding: 22px;
    border-radius: 24px;
  }

  .department-pricing-shell {
    gap: 22px;
  }

  .department-pricing-intro {
    border-radius: 24px;
  }

  .department-pricing-intro-copy {
    gap: 16px;
    padding: 24px 20px;
  }

  .department-pricing-intro-copy p {
    font-size: 16px;
  }

  .department-pricing-intro-media {
    min-height: 220px;
  }

  .department-pricing-item {
    border-radius: 22px;
  }

  .department-pricing-item .therapy-pricing-toggle {
    padding: 20px 18px;
  }

  .department-pricing-count {
    display: inline;
  }

  .department-pricing-row {
    gap: 18px;
    padding: 18px;
  }

  .department-pricing-row-main h3 {
    font-size: 19px;
  }

  .department-pricing-row-main p {
    font-size: 15px;
  }

  .department-pricing-row-side {
    flex-wrap: wrap;
    gap: 12px;
  }

  .department-pricing-row-book {
    width: 100%;
    min-height: 44px;
    padding: 0 18px;
  }

  .department-pricing-row-side strong {
    font-size: 22px;
  }

  .department-pricing-row-note {
    font-size: 12px;
  }

  .department-surgeons-head {
    gap: 14px;
  }

  .department-surgeons-footer {
    margin-top: 6px;
  }

  .department-surgeons-all-link {
    width: auto;
    min-width: 180px;
  }

  .department-surgeons-section .department-surgeons-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .department-surgeons-section {
    padding: 22px;
    border-radius: 24px;
  }

  .department-surgeons-sidebar {
    gap: 14px;
  }

  .department-surgeons-copy {
    font-size: 15px;
  }

  .department-surgeons-section .department-surgeons-cards {
    grid-template-columns: 1fr;
  }
}

.prices-dept-item.is-open .prices-dept-toggle .therapy-pricing-arrow::before {
  transform: rotate(-135deg) translateX(-1px);
}

.prices-dept-panel {
  padding: 6px 24px 28px;
  border-top: 1px solid #dbe7ee;
}

@media (max-width: 991px) {
  .prices-dept-panel {
    padding: 6px 16px 20px;
  }
}

.prices-sections-list {
  display: grid;
  gap: 20px;
}

/* Department hero secondary action uses the brand brown in every state. */
.department-hero-link.btn-outline,
.department-hero-link.btn-outline:hover,
.department-hero-link.btn-outline:focus-visible {
  border-color: #372e2d;
  color: #372e2d;
  background: #ffffff;
}
