@charset "UTF-8";
:root {
  --color-primary-light: #5e3077;
  --color-foreground-light: #ffffff;
  --color-secondary-light: #f2f2f2;
  --color-secondary-foreground-light: #1a1a1a;
  --color-muted-light: #e6e6e6;
  --color-muted-foreground-light: #4d4d4d;
  --color-accent-light: #f7f0f9;
  --color-accent-foreground-light: #5e3077;
  --color-border-light: rgba(211, 211, 211, 0.4);
  --color-foreground-dark: #aa91b7;
  --header-padding-bottom: 60px;
  --color-hover: #7b4892;
}

* {
  box-sizing: content-box;
}

/* Замените цвета на нужные вам */
* {
  scrollbar-color: #5e3077 #f1f1f1; /* ползунок и фон */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* цвет фона */
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: #5e3077; /* цвет ползунка */
  border-radius: 6px;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Onest", sans-serif;
  font-size: 14px;
  color: #000;
  background: #fff;
  height: auto; /* не фиксируем высоту, чтобы html определял скролл */
  overflow: visible; /* важно: body не блокирует скролл html */
}

h1 {
  font-size: 46px;
  line-height: 0.95;
  letter-spacing: -1px;
  font-weight: 600;
}

h2 {
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 36px;
  font-weight: 600;
}
h2 .accent {
  color: #c33490;
}

h3 {
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 24px;
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  cursor: pointer;
}

#site-wrapper {
  width: 1280px; /* базовая ширина макета */
  transform-origin: top left;
  visibility: hidden;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #c33490;
  margin-bottom: 30px;
  font-size: 13px;
}
.section-title::before {
  height: 4px;
  width: 4px;
  background-color: #c33490;
  border-radius: 50%;
  content: "";
}

img {
  display: block;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1090;
}

/* Боковое меню */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  background: #f3f3f3;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  z-index: 1600;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
}

/* Кнопка закрытия */
.close-btn {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  align-self: flex-end;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.side-menu.active {
  transform: translateX(0);
}

.call-to-action-1 {
  align-self: flex-start;
  text-decoration: none;
  padding: 20px 24px;
  color: white;
  background-color: #5e3077;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.call-to-action-1:hover {
  background-color: var(--color-hover);
}

.call-to-action-2 {
  align-self: flex-start;
  text-decoration: none;
  padding: 20px 24px;
  color: white;
  background-color: #c33490;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.call-to-action-2:hover {
  background-color: #dc6ab4;
}

.header-fixed {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header {
  display: flex;
  padding: 10px 30px;
  align-items: center;
}
header .logo {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 300px;
}
header .logo .left {
  color: #5e3077;
  font-size: 20px;
  font-weight: 600;
}
header .logo .divider {
  height: 20px;
  width: 1px;
  background-color: #5d5d5d;
  border-radius: 10px;
}
header .logo .right {
  color: #5d5d5d;
  font-size: 20px;
  font-weight: 500;
}
header .nav {
  display: flex;
  gap: 20px;
  padding: 16px 20px;
}
header .nav a {
  text-decoration: none;
  color: #5e3077;
  font-weight: 500;
  font-size: 14px;
}
header .extra {
  position: absolute;
  right: 30px;
  display: flex;
  gap: 10px;
}
header .extra .phone {
  text-decoration: none;
  color: #5e3077;
  border-radius: 10px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
header .extra .phone:hover {
  background-color: #e9d4f4;
}
header .extra .whats {
  text-decoration: none;
  padding: 10px;
  background-color: #5e3077;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
  height: 48px;
  width: 48px;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}
header .extra .whats:hover {
  background-color: var(--color-hover);
}
header .extra .whats span {
  position: absolute;
  right: 5px;
  top: 5px;
  color: white;
}
header .extra .menu {
  border: 1px solid #5e3077;
  border-radius: 10px;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  box-sizing: border-box;
  color: #5e3077;
  padding: 0;
}
header .extra .menu svg {
  width: 24px;
  height: 24px;
  color: #5e3077;
}

.hero {
  height: 510px;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 0 10px;
  margin-bottom: 10px;
  background-image: url("assets/hhero.png");
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  position: relative;
  color: rgb(44, 44, 44);
}
.hero .main {
  position: absolute;
  inset: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero .main .subheader {
  font-size: 14px;
  align-self: flex-start;
  padding: 6px 10px;
  align-items: start;
  border-radius: 100px;
  color: #5e3077;
  border: 1px solid #5e3077;
  margin-bottom: 20px;
  font-weight: 500;
}
.hero .main .subheader .icon {
  height: 6px;
  width: 6px;
  background-color: #5e3077;
  border-radius: 50%;
}
.hero .main .header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.hero .main .header p {
  max-width: 300px;
  font-weight: 500;
  color: #5e3077;
  font-size: 15px;
}
.hero .main .items {
  display: flex;
  gap: 0;
}
.hero .main .items .item {
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  font-weight: 500;
}
.hero .main .items .item .figure {
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 5px;
}
.hero .main .items .item .text {
  line-height: 1.3;
}
.hero .main .divider {
  width: 1px;
  background-color: grey;
  margin: 10px 20px;
}
.hero .main h1 {
  top: 80px;
}
.hero .main h1 span {
  color: #c33490;
}
.hero .main .advantages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.hero .main .advantages .item {
  display: flex;
  gap: 8px;
  align-items: center;
  box-sizing: border-box;
  font-size: 15px;
}
.hero .main .advantages .item .icon {
  height: 6px;
  width: 6px;
  background-color: #5e3077;
  border-radius: 50%;
}
.hero .main .cta {
  display: flex;
  gap: 20px;
}
.hero .caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(94, 48, 119, 0.12), rgba(158, 97, 191, 0.1));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero .caption .name {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 16px;
}

.highlights {
  display: flex;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 10px;
}
.highlights .item {
  flex: 1;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  background-color: #efeaf3;
}
.highlights .item .figure {
  font-size: 22px;
  font-weight: 600;
}
.highlights .item .text {
  font-size: 18px;
  font-weight: 500;
}

.symptoms {
  margin: 100px 30px;
  display: flex;
  flex-direction: column;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.symptoms .header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.symptoms .header h2 {
  color: #1e1e1e;
  margin-bottom: 50px;
  text-align: center;
}
.symptoms .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  row-gap: 30px;
}
.symptoms .grid .item {
  padding: 30px;
  padding-top: 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #efeaf3;
  border-radius: 10px;
  position: relative;
  font-weight: 500;
}
.symptoms .grid .item .bullet {
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  padding: 4px;
  border-radius: 10px;
  background-color: #a983bd;
  flex-shrink: 0;
  position: absolute;
  top: -14px;
  left: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2; /* важен! */
}
.symptoms .grid .item .bullet svg {
  height: 16px;
  width: 16px;
  color: white;
  z-index: 1;
}
.symptoms .grid .item .bullet-shadow {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: #e0c6ef;
  position: absolute;
  top: -20px;
  left: 30px;
  z-index: 0;
}
.symptoms .grid .item .label {
  font-size: 16px;
  line-height: 1.3;
  z-index: 2;
}
.symptoms .grid .cta {
  background-color: #9f7bca;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.symptoms .grid .cta .bullet {
  background-color: var(--color-hover);
}
.symptoms .grid .cta .bullet svg {
  height: 24px;
  width: 24px;
}
.symptoms .grid .cta .bullet-shadow {
  background-color: #e0c6ef;
}
.symptoms .grid .cta .label {
  font-size: 22px;
}
.symptoms .grid .cta a {
  text-decoration: none;
  padding: 12px 16px;
  color: white;
  background-color: #5e3077;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.symptoms .grid .cta a:hover {
  background-color: var(--color-hover);
}

.diagnostic {
  margin: 100px 30px;
}
.diagnostic .header {
  margin-bottom: var(--header-padding-bottom);
}
.diagnostic .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.diagnostic .grid .item {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #efeaf3;
  border-radius: 10px;
  height: 450px;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}
.diagnostic .grid .item .cover,
.diagnostic .grid .item .reverse {
  position: absolute;
  top: 0;
  box-sizing: border-box;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.diagnostic .grid .item .cover {
  display: flex;
  flex-direction: column;
  flex: 1;
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.diagnostic .grid .item .cover img {
  width: 100%;
}
.diagnostic .grid .item .cover .item-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.diagnostic .grid .item .cover .item-body .title {
  margin-bottom: 30px;
}
.diagnostic .grid .item .cover .item-body .title .accent {
  color: #c33490;
}
.diagnostic .grid .item .cover button {
  align-self: flex-start;
  text-decoration: none;
  padding: 16px 20px;
  color: white;
  background-color: #5e3077;
  border-radius: 10px;
  border: none;
  font-weight: 500;
  font-size: 13px;
}
.diagnostic .grid .item .reverse {
  display: flex;
  opacity: 0;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
  pointer-events: none;
  padding: 20px;
  color: #333;
}
.diagnostic .grid .item .reverse p {
  margin-bottom: 14px;
}
.diagnostic .grid .item .reverse .accent {
  color: #5e3077;
  font-weight: 600;
}
.diagnostic .grid .item .reverse ul {
  margin: 0 0 14px 0;
  padding-left: 20px;
}
.diagnostic .grid .item .reverse ul li {
  list-style: disc;
  margin-bottom: 6px;
}
.diagnostic .grid .item .reverse .text {
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}
.diagnostic .grid .item .reverse .close {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
}
.diagnostic .grid .item .reverse .close:hover {
  opacity: 0.6;
}
.diagnostic .grid .item.active .cover {
  opacity: 0;
  z-index: 1;
}
.diagnostic .grid .item.active .reverse {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

.accent {
  font-weight: 600;
}

.treatment {
  margin: 100px 30px;
}
.treatment .header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: var(--header-padding-bottom);
}
.treatment .header h2 .accent {
  color: #c33490;
}
.treatment .header p {
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.75);
  font-size: 14px;
  text-align: justify;
}
.treatment .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.treatment .grid .item {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #efeaf3;
  border-radius: 10px;
  height: 410px;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}
.treatment .grid .item .cover,
.treatment .grid .item .reverse {
  position: absolute;
  top: 0;
  box-sizing: border-box;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.treatment .grid .item .cover {
  display: flex;
  flex-direction: column;
  flex: 1;
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.treatment .grid .item .cover img {
  width: 100%;
}
.treatment .grid .item .cover .item-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.treatment .grid .item .cover .item-body .title {
  margin-bottom: 30px;
}
.treatment .grid .item .cover .item-body .title .accent {
  color: #c33490;
}
.treatment .grid .item .cover button {
  align-self: flex-start;
  text-decoration: none;
  padding: 16px 20px;
  color: white;
  background-color: #5e3077;
  border-radius: 10px;
  border: none;
  font-weight: 500;
  font-size: 13px;
}
.treatment .grid .item .reverse {
  display: flex;
  opacity: 0;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
  pointer-events: none;
  padding: 20px;
  color: #333;
}
.treatment .grid .item .reverse p {
  margin-bottom: 14px;
}
.treatment .grid .item .reverse .accent {
  color: #5e3077;
  font-weight: 600;
}
.treatment .grid .item .reverse ul {
  margin: 0 0 14px 0;
  padding-left: 20px;
}
.treatment .grid .item .reverse ul li {
  list-style: disc;
  margin-bottom: 6px;
}
.treatment .grid .item .reverse .text {
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}
.treatment .grid .item .reverse .close {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
}
.treatment .grid .item .reverse .close:hover {
  opacity: 0.6;
}
.treatment .grid .item.active .cover {
  opacity: 0;
  z-index: 1;
}
.treatment .grid .item.active .reverse {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

.cases {
  margin: 100px 10px;
  padding: 20px;
}
.cases .header {
  margin-bottom: var(--header-padding-bottom);
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.cases .header .extra {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cases .header .extra button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  height: 38px;
  width: 38px;
  border: none;
  padding: 0;
  color: white;
  background-color: #5e3077;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.cases .header .extra button:hover {
  background-color: var(--color-hover);
}
.cases .header .extra button img {
  color: white;
}
.cases .blocks .block {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 10px;
}
.cases .blocks .block .left {
  grid-column: 1/7;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cases .blocks .block .left .images {
  display: flex;
  gap: 10px;
}
.cases .blocks .block .left .images .img-wrapper {
  position: relative;
}
.cases .blocks .block .left .images .img-wrapper .label {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  background-color: #c33490;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}
.cases .blocks .block .left .images .img-wrapper img {
  width: 100%;
  border-radius: 10px;
}
.cases .blocks .block .left .call-to-action {
  height: 100px;
  background-color: #5e3077;
  border-radius: 10px;
}
.cases .blocks .block .description {
  grid-column: 7/13;
  padding: 30px;
  background: #faf7fc;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cases .blocks .block .description .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cases .blocks .block .description .tags span {
  background: #eee3f7;
  color: #5e3077;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}
.cases .blocks .block .description .title {
  font-weight: 700;
  color: #3a2d44;
}
.cases .blocks .block .description .summary {
  line-height: 1.4;
  color: #4b3f59;
}
.cases .blocks .block .description h4 {
  font-weight: 600;
  margin-bottom: 6px;
  color: #3a2d44;
}
.cases .blocks .block .description ul {
  padding-left: 18px;
  margin: 0;
}
.cases .blocks .block .description ul li {
  line-height: 1.4;
  color: #4b3f59;
  margin-bottom: 4px;
}

.doctor-about {
  margin: 100px 30px;
}
.doctor-about .grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.doctor-about .grid .left {
  grid-column: 1/5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.doctor-about .grid .left h2 {
  margin-bottom: 20px;
  line-height: 40px;
}
.doctor-about .grid .left p {
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.75);
  font-size: 14px;
}
.doctor-about .grid .left ul {
  padding-left: 18px;
  margin: 0;
}
.doctor-about .grid .left ul li {
  line-height: 1.4;
  color: #4b3f59;
  margin-bottom: 4px;
}
.doctor-about .grid .left .edu {
  position: relative;
  cursor: pointer;
  color: #5e3077;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.doctor-about .grid .left .edu:hover .tooltip-content, .doctor-about .grid .left .edu:hover::before {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.doctor-about .grid .left .edu {
  /* сам тултип с HTML */
}
.doctor-about .grid .left .edu .tooltip-content {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 320px;
  background: #5e3077;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-6px);
  transition: 0.22s ease;
  pointer-events: none;
  z-index: 50;
  /* оформление списков */
}
.doctor-about .grid .left .edu .tooltip-content ul {
  color: white;
  padding-left: 18px;
  margin: 6px 0 0;
}
.doctor-about .grid .left .edu .tooltip-content ul li {
  margin-bottom: 4px;
  list-style: disc;
  color: white;
}
.doctor-about .grid .left .edu .tooltip-content strong {
  font-weight: 600;
}
.doctor-about .grid .right {
  grid-column: 6/13;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-areas: "quote quote quote quote img img img" "quote quote quote quote img img img" ". . . . img img img" "card-2 card-2 card-2 card-2 card-3 card-3 card-3";
  gap: 10px;
}
.doctor-about .grid .right .image-wrap {
  grid-area: img;
}
.doctor-about .grid .right .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.doctor-about .grid .right .caption {
  grid-area: caption;
}
.doctor-about .grid .right .caption .name {
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
  font-size: 16px;
}
.doctor-about .grid .right .caption .occupation {
  color: #333;
}
.doctor-about .grid .right .quote {
  grid-area: quote;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 20px 0 0;
  color: #4b3f59;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.75);
  font-size: 14px;
  text-align: justify;
  position: relative;
  font-style: italic;
}
.doctor-about .grid .right .quote svg {
  color: #5e3077;
  flex-shrink: 0;
  width: 40px;
}
.doctor-about .grid .right .card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #eee9f0;
  border-radius: 10px;
  line-height: 1.4;
  gap: 30px;
}
.doctor-about .grid .right .card .figure {
  font-size: 24px;
  font-weight: 600;
}
.doctor-about .grid .right .card-1 {
  grid-area: card-1;
}
.doctor-about .grid .right .card-2 {
  grid-area: card-2;
}
.doctor-about .grid .right .card-3 {
  grid-area: card-3;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.doctor-about .grid .right .card-3 .cta {
  background-color: #5e3077;
  padding: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: white;
  border-radius: 10px;
  justify-content: space-between;
}
.doctor-about .grid .right .card-3 .cta:hover svg {
  transition: transform 0.35s ease;
  transform: rotate(-45deg);
}
.doctor-about .grid .right .card-3 .cta {
  transition: background-color 0.2s ease;
}
.doctor-about .grid .right .card-3 .cta:hover {
  background-color: var(--color-hover);
}
.doctor-about .grid .right .card-3 svg {
  transition: transform 0.35s ease;
  transform: rotate(-90deg);
}

.consultation {
  margin: 100px 30px;
}
.consultation .grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.consultation .grid .left {
  grid-column: 1/5;
}
.consultation .grid .left img {
  width: 100%;
}
.consultation .grid .right {
  grid-column: 6/13;
}
.consultation .grid .right .header {
  margin-bottom: var(--header-padding-bottom);
}
.consultation .grid .right p {
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.75);
  font-size: 14px;
  margin-bottom: 14px;
}
.consultation .grid .right ul {
  padding-left: 18px;
  margin: 0;
}
.consultation .grid .right ul li {
  line-height: 1.4;
  color: #4b3f59;
  margin-bottom: 4px;
}
.consultation .header {
  margin-bottom: var(--header-padding-bottom);
}

.online-call {
  margin: 100px 30px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 10px;
}
.online-call .left {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column: 1/7;
}
.online-call .left .header {
  margin-bottom: 20px;
}
.online-call .left p {
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.75);
}
.online-call .right {
  grid-column: 8/13;
}
.online-call .right img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.faq {
  margin: 100px 30px;
}
.faq .grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  margin-bottom: 50px;
}
.faq .grid h2 {
  grid-column: 1/4;
}
.faq .grid .questions {
  grid-column: 5/13;
  display: flex;
  flex-direction: column;
}
.faq .grid .questions .divider {
  height: 1px;
  background-color: rgb(211, 211, 211);
}
.faq .grid .questions .item .title {
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: none;
  border: none;
  position: relative;
  padding: 18px 50px 18px 0;
  box-sizing: border-box;
}
.faq .grid .questions .item .title .icon {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 8px;
  transform: translateY(-50%);
  transition: background-color 0.2s ease-in-out;
  border-radius: 50%;
}
.faq .grid .questions .item .title .icon-svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
  transform-origin: 50% 50%;
  display: block;
}
.faq .grid .questions .item .title:hover .icon {
  background-color: rgb(241, 241, 241);
}
.faq .grid .questions .item .text {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.4;
}
.faq .grid .questions .item.open .icon-svg {
  transform: rotate(45deg);
}
.faq .grid .questions .item.open .text {
  max-height: 500px;
  margin-bottom: 18px;
}
.faq .have-questions {
  padding: 60px 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #a48bb5 0%, #9916f1 100%);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  color: #fff;
}
.faq .have-questions .left {
  grid-column: 1/5;
  display: flex;
  flex-direction: column;
}
.faq .have-questions .left h2 {
  margin-bottom: 20px;
}
.faq .have-questions .left p {
  line-height: 1.5;
  font-size: 16px;
}
.faq .have-questions .form {
  grid-column: 7/13;
  display: flex;
  flex-direction: column;
}
.faq .have-questions .form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.faq .have-questions .form .form-group label {
  margin-bottom: 8px;
  font-weight: 500;
}
.faq .have-questions .form .form-group input,
.faq .have-questions .form .form-group textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 16px;
}
.faq .have-questions .form .form-group input[type=radio] {
  /* масштабируем видимый кружок — безопасно для большинства браузеров */
  transform: scale(1.35);
  /* задаём размеры, чтобы transform выглядел корректно */
  width: 18px;
  height: 18px;
  margin-right: 6px;
  /* твой цвет для внутренней точки и рамки (в современных браузерах) */
  accent-color: #5e3077;
  cursor: pointer;
}
.faq .have-questions .form .form-group .contact-methods {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.faq .have-questions .form .form-group .contact-methods label {
  display: flex;
  align-items: center;
  font-weight: 400;
}
.faq .have-questions .form .form-group textarea {
  resize: none;
}
.faq .have-questions .form button {
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background-color: #fff;
  color: #9916f1;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.faq .have-questions .form button:hover {
  background-color: #f0f0f0;
}

.contacts {
  margin: 100px 30px 20px 30px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  gap: 20px;
}
.contacts h2 {
  margin: 0;
  margin-bottom: 36px;
}
.contacts .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10px;
  row-gap: 30px;
}
.contacts .grid .block {
  background-color: #efeaf3;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}
.contacts .grid .block .item .label {
  font-size: 14px;
  color: #6a6370;
  font-weight: 500;
  margin-bottom: 6px;
}
.contacts .grid .block .item a {
  text-decoration: none;
  font-size: 18px;
  color: #000;
  font-weight: 500;
  transition: opacity 0.25s;
}
.contacts .grid .block .item a:hover {
  opacity: 0.6;
}
.contacts .grid .block .links {
  display: flex;
  gap: 10px;
}
.contacts .grid .block .links a {
  text-decoration: none;
  padding: 10px;
  background-color: #5e3077;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
  transition: opacity 0.25s;
  transition: background-color 0.2s ease;
}
.contacts .grid .block .links a:hover {
  background-color: var(--color-hover);
}
.contacts .grid .block .links a span {
  position: absolute;
  right: 5px;
  top: 5px;
  color: white;
}
.contacts .grid .block .warning {
  font-size: 10px;
  line-height: 14px;
}
.contacts .grid .up {
  grid-column: 3/4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: black;
}

@media (max-width: 480px) {
  body {
    margin: 0;
    font-family: "Onest", sans-serif;
    font-size: 14px;
    color: #000;
    background: #fff;
    height: auto; /* не фиксируем высоту, чтобы html определял скролл */
    overflow: visible; /* важно: body не блокирует скролл html */
  }
  h1 {
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.5px;
  }
  h2 {
    font-size: 36px;
    letter-spacing: -1px;
    line-height: 36px;
    font-weight: 600;
  }
  h3 {
    font-size: 24px;
    letter-spacing: -0.01em;
    line-height: 24px;
    font-weight: 600;
  }
  h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }
  h1,
  h2,
  h3,
  h4,
  p {
    margin: 0;
  }
  button {
    cursor: pointer;
  }
  #site-wrapper {
    width: 360px; /* базовая ширина макета */
    transform-origin: top left;
  }
  header {
    padding: 10px;
    height: 50px;
  }
  header .nav {
    display: none;
  }
  header .extra {
    right: 10px;
  }
  header .extra .phone {
    display: none;
  }
  header .extra .whats {
    display: none;
  }
  header .extra .whats span {
    position: absolute;
    right: 5px;
    top: 5px;
    color: white;
  }
  .hero {
    height: 480px;
    box-sizing: border-box;
    border-radius: 10px;
    margin: 0 10px;
    margin-bottom: 100px;
    background-color: #efefef;
    background-image: none;
  }
  .hero .main {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
    top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hero .main .header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }
  .hero .main .header p {
    max-width: 300px;
    font-weight: 500;
    color: #5e3077;
    font-size: 15px;
  }
  .hero .main .items {
    display: flex;
    gap: 0;
  }
  .hero .main .items .item {
    max-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    font-weight: 500;
  }
  .hero .main .items .item .figure {
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 5px;
  }
  .hero .main .items .item .text {
    line-height: 1.3;
  }
  .hero .main .divider {
    width: 1px;
    background-color: grey;
    margin: 10px 20px;
  }
  .hero .main h1 {
    top: 80px;
  }
  .hero .main h1 span {
    color: #c33490;
  }
  .hero .main .advantages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
  }
  .hero .main .advantages .item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    box-sizing: border-box;
    font-size: 15px;
  }
  .hero .main .advantages .item .icon {
    height: 6px;
    width: 6px;
    background-color: #5e3077;
    border-radius: 10px;
    margin-top: 5px;
  }
  .hero .main .cta {
    flex-direction: column;
    gap: 10px;
  }
  .hero .main .call-to-action-1 {
    align-self: auto;
    text-align: center;
  }
  .hero .main .call-to-action-2 {
    align-self: auto;
    text-align: center;
  }
  .hero .caption {
    display: none;
  }
}

/*# sourceMappingURL=style.css.map */
