/* Conversion v3 — offer, Marquiz frame and team trust section */
:root {
  --cv3-ink: #0d2243;
  --cv3-text: #40576d;
  --cv3-accent: #59bfc6;
  --cv3-accent-deep: #239ca7;
  --cv3-line: #d5e9ef;
  --cv3-yellow: #ffdc6a;
  --cv3-shadow: 0 22px 55px rgba(13,34,67,.10);
}

/* Offer above quiz */
.best-block.best-block-v3 {
  position: relative;
  z-index: 5;
  width: min(94%, 1450px);
  max-width: 1450px;
  margin: 28px auto 0;
}
.best-block-v3 .offer-v3 {
  position: relative;
  overflow: hidden;
  padding: 30px 34px 32px;
  border: 1px solid rgba(218,171,22,.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 15%, rgba(255,255,255,.62), transparent 26%),
    linear-gradient(115deg, #ffe486 0%, #ffdc6a 58%, #ffeaa3 100%);
  box-shadow: 0 20px 48px rgba(173,130,0,.14);
}
.best-block-v3 .offer-v3::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -95px;
  bottom: -160px;
  border-radius: 50%;
  border: 44px solid rgba(255,255,255,.22);
  pointer-events: none;
}
.best-block-v3 .container2 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}
.best-block-v3 .offer-v3__title {
  max-width: 1050px;
  margin: 0 auto 23px;
  padding: 0;
  color: #1d2734;
  text-align: center;
  font-family: "Source Sans Pro", Onest, sans-serif;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.01em;
}
.best-block-v3 .offer-v3__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 !important;
}
.best-block-v3 .offer-v3__grid > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}
.best-block-v3 .single-counter {
  height: 100%;
  margin: 0;
}
.best-block-v3 .counter {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  height: 100%;
  min-height: 108px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 24px rgba(92,71,0,.07);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.best-block-v3 .counter .icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 15px;
  background: rgba(255,255,255,.78);
}
.best-block-v3 .counter .icon img { width: 50px !important; max-height: 50px; object-fit: contain; }
.best-block-v3 .counter .text { min-width: 0; }
.best-block-v3 .counter .text span:first-child {
  display: block;
  margin-bottom: 4px;
  color: #172334;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}
.best-block-v3 .counter .text p {
  margin: 0;
  color: #354454;
  font-family: Onest, sans-serif;
  font-size: 12px;
  line-height: 1.32;
}

/* Marquiz stays untouched; only its outside presentation changes. */
.patients .marquiz-shell-v3 {
  width: min(100%, 1080px);
  margin: 28px auto 42px;
  padding: 14px;
  border: 1px solid var(--cv3-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 12%, rgba(89,191,198,.13), transparent 30%),
    #fff;
  box-shadow: var(--cv3-shadow);
}
.patients .marquiz-shell-v3 > div[data-marquiz-id] {
  overflow: hidden;
  min-height: 450px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fafdfe, #f4fafb);
}
.patients .marquiz-shell-v3 iframe { max-width: 100% !important; }

/* Team trust section — replaces single-doctor expert block. */
.team-expert-v3 {
  position: relative;
  overflow: hidden;
  padding: 88px 0 100px;
  border-radius: 52px;
  background:
    radial-gradient(circle at 14% 16%, rgba(89,191,198,.11), transparent 26%),
    radial-gradient(circle at 90% 70%, rgba(78,169,225,.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}
.team-expert-v3::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: 80px;
  border-radius: 50%;
  border: 78px solid rgba(89,191,198,.07);
  pointer-events: none;
}
.team-expert-v3__head {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}
.team-expert-v3__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  padding: 7px 12px;
  border: 1px solid rgba(89,191,198,.30);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #3b6871;
  font-family: Onest, sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.team-expert-v3__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cv3-accent);
  box-shadow: 0 0 0 5px rgba(89,191,198,.12);
}
.team-expert-v3__title {
  max-width: 850px;
  margin: 0 auto 16px;
  color: var(--cv3-ink);
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(40px, 4.2vw, 60px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.team-expert-v3__title span { color: var(--cv3-accent); }
.team-expert-v3__lead {
  max-width: 820px;
  margin: 0 auto;
  color: var(--cv3-text);
  font-family: Onest, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
.team-expert-v3__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: clamp(26px, 4vw, 62px);
  align-items: center;
}
.team-expert-v3__visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--cv3-line);
  border-radius: 30px;
  background: #eef7f8;
  box-shadow: var(--cv3-shadow);
}
.team-expert-v3__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(5,25,43,.48));
  pointer-events: none;
}
.team-expert-v3__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}
.team-expert-v3__visual-badge {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 28px rgba(13,34,67,.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.team-expert-v3__visual-badge strong {
  display: block;
  margin-bottom: 3px;
  color: var(--cv3-ink);
  font: 900 20px/1.1 "Source Sans Pro", sans-serif;
}
.team-expert-v3__visual-badge span { color: #4d6375; font: 12px/1.4 Onest, sans-serif; }
.team-expert-v3__content { min-width: 0; }
.team-expert-v3__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.team-expert-v3__stat {
  min-height: 102px;
  padding: 16px 14px;
  border: 1px solid var(--cv3-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13,34,67,.06);
}
.team-expert-v3__stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--cv3-accent-deep);
  font: 900 23px/1 "Source Sans Pro", sans-serif;
}
.team-expert-v3__stat span { display: block; color: #52687a; font: 11px/1.3 Onest, sans-serif; }
.team-expert-v3__steps {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.team-expert-v3__step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid #e0eef2;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
}
.team-expert-v3__step i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(89,191,198,.15);
  color: var(--cv3-accent-deep);
  font: normal 900 15px/1 Onest, sans-serif;
}
.team-expert-v3__step strong { display: block; margin-bottom: 2px; color: var(--cv3-ink); font: 800 14px/1.25 Onest, sans-serif; }
.team-expert-v3__step span { display: block; color: #53697b; font: 12px/1.4 Onest, sans-serif; }
.team-expert-v3__cta {
  width: 100%;
  max-width: none;
  min-height: 62px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(49,159,170,.18);
}
.team-expert-v3__note {
  margin: 8px 4px 0;
  color: #738493;
  text-align: center;
  font: 11px/1.4 Onest, sans-serif;
}

@media (max-width: 1100px) {
  .best-block-v3 .offer-v3__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-expert-v3__layout { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
  .team-expert-v3__visual { min-height: 450px; }
  .team-expert-v3__visual img { min-height: 450px; }
}

@media (max-width: 640px) {
  .best-block.best-block-v3 { width: calc(100% - 20px); margin-top: 18px; }
  .best-block-v3 .offer-v3 { padding: 20px 12px 14px; border-radius: 20px; }
  .best-block-v3 .offer-v3__title { margin-bottom: 15px; font-size: 19px; line-height: 1.22; }
  .best-block-v3 .offer-v3__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .best-block-v3 .counter { grid-template-columns: 42px 1fr; gap: 8px; min-height: 96px; padding: 10px 9px; border-radius: 14px; }
  .best-block-v3 .counter .icon { width: 42px; height: 42px; border-radius: 11px; }
  .best-block-v3 .counter .icon img { width: 39px !important; max-height: 39px; }
  .best-block-v3 .counter .text span:first-child { font-size: 15px; }
  .best-block-v3 .counter .text p { font-size: 9px; line-height: 1.28; }

  .patients .marquiz-shell-v3 {
    width: 100%;
    margin: 18px auto 28px;
    padding: 7px;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(13,34,67,.09);
  }
  .patients .marquiz-shell-v3 > div[data-marquiz-id] { min-height: 520px; border-radius: 14px; }

  .team-expert-v3 { padding: 58px 0 66px; border-radius: 30px; }
  .team-expert-v3__head { margin-bottom: 24px; text-align: left; }
  .team-expert-v3__eyebrow { font-size: 11px; }
  .team-expert-v3__title { margin-bottom: 12px; font-size: clamp(34px, 10vw, 43px); line-height: 1.03; }
  .team-expert-v3__lead { font-size: 14px; line-height: 1.5; }
  .team-expert-v3__layout { gap: 18px; }
  .team-expert-v3__visual { min-height: 330px; border-radius: 22px; }
  .team-expert-v3__visual img { min-height: 330px; object-position: 48% center; }
  .team-expert-v3__visual-badge { left: 10px; right: 10px; bottom: 10px; padding: 11px 12px; border-radius: 14px; }
  .team-expert-v3__visual-badge strong { font-size: 17px; }
  .team-expert-v3__visual-badge span { font-size: 10px; }
  .team-expert-v3__stats { grid-template-columns: 1fr 1fr; gap: 7px; }
  .team-expert-v3__stat { min-height: 82px; padding: 12px 11px; border-radius: 14px; }
  .team-expert-v3__stat:nth-child(3) { grid-column: 1 / -1; min-height: 68px; }
  .team-expert-v3__stat strong { font-size: 20px; }
  .team-expert-v3__stat span { font-size: 10px; }
  .team-expert-v3__step { grid-template-columns: 30px 1fr; gap: 9px; padding: 10px 11px; border-radius: 14px; }
  .team-expert-v3__step i { width: 30px; height: 30px; font-size: 13px; }
  .team-expert-v3__step strong { font-size: 13px; }
  .team-expert-v3__step span { font-size: 11px; }
  .team-expert-v3__cta { min-height: 58px; border-radius: 14px; font-size: 15px; }
}

@media (max-width: 390px) {
  .best-block-v3 .counter { grid-template-columns: 1fr; text-align: center; }
  .best-block-v3 .counter .icon { margin: 0 auto; }
  .best-block-v3 .counter .text p br { display: none; }
}

/* v4 — readability pass for 50+ audience. Larger type, calmer line-height, safe responsive cards. */
.best-block-v3 .offer-v3__title {
  font-size: clamp(25px, 2.15vw, 32px);
  line-height: 1.28;
}
.best-block-v3 .counter { min-height: 122px; }
.best-block-v3 .counter .text span:first-child { font-size: 22px; line-height: 1.15; }
.best-block-v3 .counter .text p { font-size: 15px; line-height: 1.48; }

.team-expert-v3__eyebrow { font-size: 15px; line-height: 1.35; }
.team-expert-v3__lead { font-size: 19px; line-height: 1.62; }
.team-expert-v3__visual-badge strong { font-size: 22px; line-height: 1.2; }
.team-expert-v3__visual-badge span { font-size: 14px; line-height: 1.5; }
.team-expert-v3__stat { min-height: 112px; padding: 17px 15px; }
.team-expert-v3__stat strong { font-size: 26px; line-height: 1.05; }
.team-expert-v3__stat span { font-size: 14px; line-height: 1.4; }
.team-expert-v3__step { grid-template-columns: 40px 1fr; gap: 13px; padding: 14px 16px; }
.team-expert-v3__step i { width: 40px; height: 40px; font-size: 17px; }
.team-expert-v3__step strong { font-size: 17px; line-height: 1.35; }
.team-expert-v3__step span { font-size: 15px; line-height: 1.55; }
.team-expert-v3__cta { min-height: 66px; font-size: 18px; line-height: 1.3; }
.team-expert-v3__note { font-size: 14px; line-height: 1.55; }

@media (max-width: 1100px) {
  .best-block-v3 .counter .text p { font-size: 15px; }
  .team-expert-v3__lead { font-size: 18px; }
}

@media (max-width: 640px) {
  .best-block-v3 .offer-v3 { padding: 22px 14px 16px; }
  .best-block-v3 .offer-v3__title { margin-bottom: 18px; font-size: 22px; line-height: 1.35; }

  /* One card per row keeps all free-offer text readable at 14–16px. */
  .best-block-v3 .offer-v3__grid { grid-template-columns: 1fr; gap: 9px; }
  .best-block-v3 .counter {
    grid-template-columns: 54px 1fr;
    gap: 12px;
    min-height: 94px;
    padding: 13px 14px;
    text-align: left;
  }
  .best-block-v3 .counter .icon { width: 54px; height: 54px; border-radius: 14px; }
  .best-block-v3 .counter .icon img { width: 47px !important; max-height: 47px; }
  .best-block-v3 .counter .text span:first-child { font-size: 19px; line-height: 1.15; }
  .best-block-v3 .counter .text p { font-size: 14px; line-height: 1.45; }

  .patients .marquiz-shell-v3 { padding: 9px; }

  .team-expert-v3__head { text-align: left; }
  .team-expert-v3__eyebrow { font-size: 14px; }
  .team-expert-v3__title { font-size: clamp(35px, 10vw, 44px); line-height: 1.08; }
  .team-expert-v3__lead { font-size: 16px; line-height: 1.62; }
  .team-expert-v3__visual-badge { padding: 13px 14px; }
  .team-expert-v3__visual-badge strong { font-size: 19px; }
  .team-expert-v3__visual-badge span { font-size: 13px; line-height: 1.45; }
  .team-expert-v3__stats { grid-template-columns: 1fr; gap: 8px; }
  .team-expert-v3__stat,
  .team-expert-v3__stat:nth-child(3) {
    grid-column: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(108px, auto) 1fr;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
  }
  .team-expert-v3__stat strong { margin: 0; font-size: 23px; }
  .team-expert-v3__stat span { font-size: 13px; line-height: 1.4; }
  .team-expert-v3__step { grid-template-columns: 36px 1fr; gap: 11px; padding: 13px 14px; }
  .team-expert-v3__step i { width: 36px; height: 36px; font-size: 15px; }
  .team-expert-v3__step strong { font-size: 16px; line-height: 1.35; }
  .team-expert-v3__step span { font-size: 14px; line-height: 1.52; }
  .team-expert-v3__cta { min-height: 62px; font-size: 17px; }
  .team-expert-v3__note { font-size: 13px; line-height: 1.5; }
}

@media (max-width: 390px) {
  .best-block-v3 .counter { grid-template-columns: 50px 1fr; text-align: left; }
  .best-block-v3 .counter .icon { width: 50px; height: 50px; margin: 0; }
  .best-block-v3 .counter .text p br { display: none; }
  .team-expert-v3__stat,
  .team-expert-v3__stat:nth-child(3) { grid-template-columns: 100px 1fr; }
}
