.mss-service-page {
  background: #fafbf9;
  color: #0e1f1a;
  overflow-x: clip;
}

.mss-service-hero {
  overflow: visible;
  padding: 48px 0 60px;
  position: relative;
}

.mss-service-hero::before {
  background: radial-gradient(circle, rgba(var(--mss-brand-primary-rgb, 0, 168, 107), .08), transparent 70%);
  border-radius: 999px;
  content: "";
  height: 560px;
  position: absolute;
  right: -180px;
  top: -160px;
  width: 560px;
}

.mss-service-breadcrumbs {
  align-items: center;
  color: #5a7268;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.mss-service-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.mss-service-breadcrumbs svg {
  height: 13px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 13px;
}

.mss-service-grid {
  align-items: start;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 1fr) 380px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mss-service-main,
.mss-service-aside,
.mss-service-block,
.mss-service-price-card,
.mss-service-seo__card,
.mss-service-seo__content {
  min-width: 0;
}

.mss-service-main,
.mss-service-price-card,
.mss-service-seo__content {
  overflow-wrap: anywhere;
}

.mss-service-tag {
  align-items: center;
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-radius: 999px;
  color: var(--mss-brand-primary-dark, #008f5b);
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
}

.mss-service-tag svg,
.mss-service-block__head svg {
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 16px;
}

.mss-service-title {
  color: #0e1f1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0;
}

.mss-service-lead {
  color: #5a7268;
  font-size: 17px;
  line-height: 1.65;
  margin: 20px 0 30px;
  max-width: 760px;
}

.mss-service-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 32px;
  min-width: 0;
}

.mss-service-metric,
.mss-service-block,
.mss-service-price-card,
.mss-service-seo__card {
  background: #fff;
  border: 1px solid #e5ede9;
  box-shadow: 0 10px 30px rgba(14, 31, 26, .05);
}

.mss-service-metric {
  border-radius: 16px;
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
}

.mss-service-metric__icon {
  align-items: center;
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-radius: 10px;
  color: var(--mss-brand-primary, #00a86b);
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.mss-service-metric.is-accent .mss-service-metric__icon {
  background: #ffe8e0;
  color: #ff6b47;
}

.mss-service-metric__icon svg {
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.mss-service-metric strong {
  color: #0e1f1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.mss-service-metric small {
  color: #5a7268;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.mss-service-block {
  border-radius: 22px;
  margin-bottom: 20px;
  padding: clamp(24px, 4vw, 34px);
}

.mss-service-block__head {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.mss-service-block__head span {
  align-items: center;
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-radius: 12px;
  color: var(--mss-brand-primary, #00a86b);
  display: flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.mss-service-block__head h2 {
  color: #0e1f1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
}

.mss-service-richtext {
  color: #2d4a3f;
  font-size: 15px;
  line-height: 1.72;
}

.mss-service-richtext p {
  margin: 0 0 14px;
}

.mss-service-richtext p:last-child {
  margin-bottom: 0;
}

.mss-service-docs,
.mss-service-doctors {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.mss-service-doc,
.mss-service-doctor {
  align-items: flex-start;
  background: #f2f6f4;
  border-radius: 14px;
  color: #2d4a3f;
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 15px;
  text-decoration: none;
}

.mss-service-doc span,
.mss-service-doctor > span {
  align-items: center;
  background: var(--mss-brand-primary, #00a86b);
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.mss-service-doc svg {
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  width: 14px;
}

.mss-service-doc p {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  margin: 4px 0 0;
}

.mss-service-note {
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-left: 4px solid var(--mss-brand-primary, #00a86b);
  border-radius: 12px;
  color: #2d4a3f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  margin-top: 18px;
  padding: 15px 18px;
}

.mss-service-stages {
  display: grid;
  gap: 0;
}

.mss-service-stage {
  display: flex;
  gap: 18px;
  padding-bottom: 20px;
  position: relative;
}

.mss-service-stage:not(:last-child)::before {
  background-image: linear-gradient(to bottom, var(--mss-brand-primary, #00a86b) 50%, transparent 50%);
  background-size: 2px 8px;
  bottom: 0;
  content: "";
  left: 18px;
  position: absolute;
  top: 38px;
  width: 2px;
}

.mss-service-stage > span {
  align-items: center;
  background: var(--mss-brand-primary, #00a86b);
  border-radius: 12px;
  color: #fff;
  display: flex;
  flex: 0 0 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.mss-service-stage h3 {
  color: #0e1f1a;
  font-size: 15px;
  font-weight: 750;
  margin: 5px 0 5px;
}

.mss-service-stage p,
.mss-service-doctor small {
  color: #5a7268;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.mss-service-doctor > span {
  background: linear-gradient(135deg, var(--mss-brand-primary, #00a86b), var(--mss-brand-primary-dark, #008f5b));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  height: 44px;
  width: 44px;
}

.mss-service-doctor strong {
  color: #0e1f1a;
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.mss-service-aside {
  position: sticky;
  top: 24px;
}

.mss-service-price-card {
  border-radius: 24px;
  overflow: hidden;
  padding: 28px;
  width: 100%;
}

.mss-service-price-options {
  display: grid;
  gap: 14px;
}

.mss-service-price-option {
  background: #f7fbf8;
  border: 1px solid #dbe9e3;
  border-radius: 18px;
  padding: 16px;
}

.mss-service-price-option.is-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f2f8f5 100%);
  border-color: #cfe3da;
}

.mss-service-price-option__head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mss-service-price-option__head strong {
  color: #0e1f1a;
  display: block;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.mss-service-price-option__amount {
  align-items: baseline;
  color: #0e1f1a;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
  white-space: nowrap;
}

.mss-service-price-option__amount span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.mss-service-price-option__amount small {
  color: #5a7268;
  font-size: 14px;
  font-weight: 700;
}

.mss-service-price-option__meta {
  display: grid;
  gap: 10px;
}

.mss-service-price-option__meta div,
.mss-service-price-card__facts div {
  align-items: center;
  display: flex;
  gap: 10px;
}

.mss-service-price-option__meta span,
.mss-service-price-card__facts span {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  color: var(--mss-brand-primary, #00a86b);
  display: flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.mss-service-price-option__meta svg,
.mss-service-price-card__facts svg {
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 14px;
}

.mss-service-price-option__meta p,
.mss-service-price-card__facts p {
  color: #2d4a3f;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.mss-service-cta--option {
  margin-top: 22px;
}

.mss-service-price-card__badge {
  align-items: center;
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-radius: 999px;
  color: var(--mss-brand-primary-dark, #008f5b);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  margin-bottom: 20px;
  padding: 6px 11px;
  text-transform: uppercase;
}

.mss-service-price-card__label {
  color: #5a7268;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mss-service-price-card__price {
  align-items: baseline;
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.mss-service-price-card__price strong {
  color: #0e1f1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
}

.mss-service-price-card__price span {
  color: #5a7268;
  font-size: 20px;
  font-weight: 750;
}

.mss-service-price-card__old {
  color: #98a8a0;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  text-decoration: line-through;
}

.mss-service-price-card__facts {
  background: #f2f6f4;
  border-radius: 14px;
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 14px;
}

.mss-service-cta,
.mss-service-phone {
  align-items: center;
  border-radius: 14px;
  display: flex;
  font-weight: 750;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
}

.mss-service-cta {
  background: var(--mss-brand-primary, #00a86b);
  border: 0;
  box-shadow: 0 8px 20px rgba(var(--mss-brand-primary-rgb, 0, 168, 107), .25);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 10px;
  padding: 14px 22px;
  width: 100%;
}

.mss-service-phone {
  border: 0;
  background: #f2f6f4;
  color: #0e1f1a;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0;
  padding: 13px;
  width: 100%;
}

.mss-service-phone:hover {
  background: var(--mss-brand-primary-light, #e8f7f0);
  color: var(--mss-brand-primary-dark, #008f5b);
}

.mss-service-guarantees {
  border-top: 1px dashed #e5ede9;
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 20px;
}

.mss-service-guarantees div {
  align-items: center;
  color: #5a7268;
  display: flex;
  font-size: 12px;
  font-weight: 650;
  gap: 8px;
}

.mss-cf7-modal[hidden] {
  display: none;
}

html.mss-modal-open {
  overflow: hidden;
}

.mss-cf7-modal {
  align-items: center;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 18px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}

.mss-cf7-modal__backdrop {
  background: rgba(14, 31, 26, 0.48);
  inset: 0;
  position: absolute;
}

.mss-cf7-modal__dialog {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(14, 31, 26, 0.22);
  max-height: min(760px, calc(100vh - 36px));
  max-width: 520px;
  overflow: auto;
  padding: 34px;
  position: relative;
  width: min(100%, 520px);
  z-index: 1;
}

.mss-cf7-modal__close {
  align-items: center;
  background: #f2f6f4;
  border: 0;
  border-radius: 10px;
  color: #2d4a3f;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
}

.mss-cf7-modal__close svg {
  height: 17px;
  width: 17px;
}

.mss-cf7-modal .wpcf7-form {
  display: grid;
  gap: 12px;
}

.mss-cf7-modal .wpcf7-form p {
  margin: 0;
}

.mss-cf7-modal input:not([type="submit"]),
.mss-cf7-modal textarea,
.mss-cf7-modal select {
  background: #f7faf8;
  border: 1px solid #dfe9e5;
  border-radius: 12px;
  min-height: 46px;
  padding: 0 14px;
  width: 100%;
}

.mss-cf7-modal textarea {
  min-height: 110px;
  padding-top: 12px;
}

.mss-cf7-modal input[type="submit"] {
  background: var(--mss-brand-primary, #00a86b);
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 850;
  min-height: 48px;
  padding: 0 22px;
}

.mss-service-guarantees span {
  color: var(--mss-brand-primary, #00a86b);
}

.mss-service-guarantees svg {
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  width: 14px;
}

.mss-service-seo {
  padding: 0 0 80px;
}

.mss-service-seo__inner {
  margin: 0 auto;
  max-width: 920px;
}

.mss-service-seo__head {
  margin-bottom: 26px;
  text-align: center;
}

.mss-service-seo__head span {
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-radius: 999px;
  color: var(--mss-brand-primary-dark, #008f5b);
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 14px;
  padding: 8px 16px;
}

.mss-service-seo__head h2 {
  color: #0e1f1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
}

.mss-service-seo__card {
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
}

.mss-service-seo__content {
  color: #2d4a3f;
  font-size: 16px;
  line-height: 1.75;
  max-height: 380px;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  transition: max-height .45s ease;
  -webkit-overflow-scrolling: touch;
}

.mss-service-seo__content.is-expanded {
  max-height: 9000px;
}

.mss-service-seo__content h2,
.mss-service-seo__content h3 {
  color: #143238;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: clamp(26px, 4vw, 38px) 0 .72em;
  text-wrap: balance;
}

.mss-service-seo__content h2 {
  align-items: center;
  display: flex;
  font-size: clamp(1.35rem, 1.05rem + .9vw, 1.85rem);
  gap: 12px;
}

.mss-service-seo__content h2::before {
  background: linear-gradient(135deg, var(--mss-brand-primary, #00a86b), var(--mss-brand-secondary, #f26722));
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(var(--mss-brand-primary-rgb, 0, 168, 107), .18);
  content: "";
  flex: 0 0 auto;
  height: 12px;
  width: 12px;
}

.mss-service-seo__content h3 {
  font-size: clamp(1.16rem, 1rem + .45vw, 1.42rem);
}

.mss-service-seo__content [style*="color: #ffffff"],
.mss-service-seo__content [style*="color:#ffffff"],
.mss-service-seo__content [style*="color: white"],
.mss-service-seo__content [style*="color:white"] {
  color: #2d4a3f !important;
}

.mss-service-seo__content h2 [style*="color"],
.mss-service-seo__content h3 [style*="color"] {
  color: #143238 !important;
}

.mss-service-seo__content p,
.mss-service-seo__content ul,
.mss-service-seo__content ol {
  margin-bottom: 1em;
}

.mss-service-seo__content ul,
.mss-service-seo__content ol {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: 0;
  max-width: 78ch;
  padding-left: 0;
}

.mss-service-seo__content ol {
  counter-reset: mss-service-seo-list;
}

.mss-service-seo__content ul > li,
.mss-service-seo__content ol > li {
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,253,250,.94)),
    #f4fbf8;
  border: 1px solid #e1eee8;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 50, 56, .045);
  color: #25483f;
  font-weight: 650;
  line-height: 1.58;
  margin: 0;
  padding: 12px 16px 12px 48px;
  position: relative;
}

.mss-service-seo__content ul > li::before {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(var(--mss-brand-primary-rgb, 0, 168, 107), .2);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(var(--mss-brand-primary-rgb, 0, 168, 107), .12);
  color: var(--mss-brand-primary, #00a86b);
  content: "✓";
  display: flex;
  font-size: .8rem;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  left: 14px;
  line-height: 1;
  position: absolute;
  top: 13px;
  width: 24px;
}

.mss-service-seo__content ol > li {
  counter-increment: mss-service-seo-list;
}

.mss-service-seo__content ol > li::before {
  align-items: center;
  background: var(--mss-brand-primary, #00a86b);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(var(--mss-brand-primary-rgb, 0, 168, 107), .18);
  color: #ffffff;
  content: counter(mss-service-seo-list);
  display: flex;
  font-size: .78rem;
  font-weight: 900;
  height: 25px;
  justify-content: center;
  left: 14px;
  line-height: 1;
  position: absolute;
  top: 13px;
  width: 25px;
}

.mss-service-seo__content table {
  border: 1px solid #dfece6;
  border-collapse: separate;
  border-radius: 18px;
  border-spacing: 0;
  box-shadow: 0 16px 34px rgba(20, 50, 56, .055);
  display: table;
  margin: 1.2em 0 1.45em;
  overflow: hidden;
  table-layout: auto;
  width: 100%;
}

.mss-service-seo__content thead th:first-child {
  border-top-left-radius: 17px;
}

.mss-service-seo__content thead th:last-child {
  border-top-right-radius: 17px;
}

.mss-service-seo__content th,
.mss-service-seo__content td {
  border-bottom: 1px solid #e5ede9;
  color: #2f514a;
  font-size: 1rem;
  line-height: 1.55;
  padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
}

.mss-service-seo__content th {
  background: linear-gradient(180deg, #f4fbf8 0%, #edf8f3 100%);
  color: #143238;
  font-weight: 850;
  white-space: nowrap;
}

.mss-service-seo__content tbody tr:nth-child(even) td {
  background: #fbfdfc;
}

.mss-service-seo__content tbody tr:hover td {
  background: #fff7f1;
}

.mss-service-seo__content tr:last-child td {
  border-bottom: 0;
}

.mss-service-seo__fade {
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 78%);
  bottom: 0;
  height: 160px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.mss-service-seo__content.is-expanded .mss-service-seo__fade {
  display: none;
}

.mss-service-seo__toggle {
  background: #fff;
  border: 1px solid #e5ede9;
  border-radius: 14px;
  color: #0e1f1a;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  margin: 28px auto 0;
  padding: 13px 24px;
}

.mss-service-seo__toggle [data-text-expanded],
.mss-service-seo__toggle.is-expanded [data-text-collapsed] {
  display: none;
}

.mss-service-seo__toggle.is-expanded [data-text-expanded] {
  display: inline;
}

@media (max-width: 1100px) {
  .mss-service-grid {
    grid-template-columns: 1fr;
  }

  .mss-service-aside {
    position: static;
  }

  .mss-service-price-option__head {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .mss-service-price-card,
  .mss-service-block,
  .mss-service-seo__card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mss-service-price-card__price strong {
    font-size: 40px;
  }
}

@media (max-width: 760px) {
  .mss-service-hero {
    padding: 34px 0 42px;
  }

  .mss-service-metrics,
  .mss-service-docs,
  .mss-service-doctors {
    grid-template-columns: 1fr;
  }

  .mss-service-title {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }
}

/* Redesign inspired by demo/medstrah-shablon.html. Data stays dynamic from admin fields. */
.mss-service-page {
  --mss-service-bg: #f7f4ef;
  --mss-service-surface: #ffffff;
  --mss-service-ink: #15211c;
  --mss-service-muted: #5f6c65;
  --mss-service-line: #e6e1d8;
  --mss-service-accent: var(--mss-brand-secondary, #f26722);
  --mss-service-accent-soft: #fff0e8;
  --mss-service-accent-ink: #7b310c;
  --mss-service-green: var(--mss-brand-primary, #00a86b);
  --mss-service-green-dark: var(--mss-brand-primary-dark, #008f5b);
  --mss-service-shadow: 0 1px 2px rgba(21, 33, 28, .05), 0 18px 42px -28px rgba(21, 33, 28, .32);
  background: var(--mss-service-bg);
  color: var(--mss-service-ink);
}

.mss-service-page .site-shell,
.mss-service-seo__inner {
  max-width: 1256px;
}

.mss-service-hero {
  padding: clamp(24px, 4vw, 46px) 0 clamp(54px, 7vw, 82px);
}

.mss-service-hero::before {
  background:
    radial-gradient(circle at 78% 12%, rgba(var(--mss-brand-primary-rgb, 0, 168, 107), .1), transparent 32%),
    radial-gradient(circle at 18% 18%, rgba(242, 103, 34, .1), transparent 28%);
  border-radius: 0;
  inset: 0;
  height: auto;
  pointer-events: none;
  width: auto;
}

.mss-service-breadcrumbs {
  color: var(--mss-service-muted);
  font-size: 13px;
  font-weight: 650;
  gap: 9px;
  margin-bottom: clamp(18px, 3vw, 26px);
}

.mss-service-breadcrumbs a:hover {
  color: var(--mss-service-accent);
}

.mss-service-breadcrumbs svg {
  opacity: .62;
}

.mss-service-grid {
  gap: clamp(28px, 4vw, 44px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 382px);
}

.mss-service-tag,
.mss-service-price-card__badge {
  background: var(--mss-service-accent-soft);
  color: var(--mss-service-accent-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 18px;
  padding: 8px 14px;
}

.mss-service-tag svg {
  color: var(--mss-service-green);
}

.mss-service-title {
  color: #17332b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(2rem, 4.1vw, 3.05rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  max-width: 18.5ch;
  text-wrap: balance;
}

.mss-service-lead {
  color: var(--mss-service-muted);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.72;
  margin: 18px 0 0;
  max-width: 62ch;
}

.mss-service-pulse {
  height: 62px;
  margin: clamp(22px, 4vw, 34px) 0 8px;
  max-width: 100%;
  overflow: visible;
}

.mss-service-pulse svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.mss-service-pulse__base {
  fill: none;
  stroke: var(--mss-service-line);
  stroke-width: 2;
}

.mss-service-pulse__beat {
  fill: none;
  stroke: var(--mss-service-ink);
  stroke-dasharray: 1300;
  stroke-dashoffset: 1300;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  animation: mss-service-pulse-draw 3.2s ease-in-out .15s forwards;
}

.mss-service-pulse__dot {
  animation: mss-service-pulse-dot 3.2s ease-in-out .15s forwards;
  fill: var(--mss-service-accent);
  opacity: 0;
}

@keyframes mss-service-pulse-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes mss-service-pulse-dot {
  0%,
  55% {
    opacity: 0;
  }

  60%,
  100% {
    opacity: 1;
  }
}

.mss-service-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  grid-template-columns: none;
  margin: 18px 0 32px;
}

.mss-service-metric {
  align-items: center;
  border-color: var(--mss-service-line);
  border-radius: 15px;
  box-shadow: var(--mss-service-shadow);
  display: flex;
  gap: 12px;
  min-height: 0;
  padding: 14px 18px;
}

.mss-service-metric__icon {
  background: var(--mss-service-accent-soft);
  border-radius: 11px;
  color: var(--mss-service-accent);
}

.mss-service-metric.is-accent .mss-service-metric__icon {
  background: #eaf8f2;
  color: var(--mss-service-green);
}

.mss-service-metric strong {
  color: var(--mss-service-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 850;
}

.mss-service-metric small {
  color: var(--mss-service-muted);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.mss-service-block,
.mss-service-seo__card {
  background: var(--mss-service-surface);
  border-color: var(--mss-service-line);
  border-radius: 18px;
  box-shadow: var(--mss-service-shadow);
}

.mss-service-block {
  margin-bottom: 22px;
  padding: clamp(24px, 3.4vw, 32px);
}

.mss-service-block__head {
  gap: 13px;
}

.mss-service-block__head span {
  background: var(--mss-service-accent-soft);
  border-radius: 12px;
  color: var(--mss-service-accent-ink);
  flex-basis: 42px;
  height: 42px;
  width: 42px;
}

.mss-service-block__head h2 {
  color: var(--mss-service-ink);
  font-family: inherit;
  font-size: clamp(1.24rem, 1.06rem + .6vw, 1.48rem);
  font-weight: 900;
  letter-spacing: 0;
}

.mss-service-docs,
.mss-service-doctors {
  grid-template-columns: 1fr;
}

.mss-service-doc,
.mss-service-doctor {
  background: var(--mss-service-bg);
  border: 1px solid transparent;
  border-radius: 13px;
  gap: 14px;
  padding: 16px 18px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.mss-service-doc:hover,
.mss-service-doctor:hover {
  background: #ffffff;
  border-color: var(--mss-service-line);
  transform: translateY(-1px);
}

.mss-service-doc span,
.mss-service-doctor > span {
  background: var(--mss-service-green-dark);
  border-radius: 9px;
  flex-basis: 28px;
}

.mss-service-doc p {
  color: #263c34;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
  margin: 2px 0 0;
}

.mss-service-note {
  background: var(--mss-service-accent-soft);
  border: 0;
  border-radius: 13px;
  color: var(--mss-service-accent-ink);
  font-size: 14px;
  margin-top: 16px;
  padding: 15px 18px;
}

.mss-service-stage {
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr;
  padding-bottom: 26px;
}

.mss-service-stage:not(:last-child)::before {
  background: var(--mss-service-line);
  background-image: none;
  bottom: -26px;
  left: 20px;
  top: 40px;
}

.mss-service-stage > span {
  background: var(--mss-service-surface);
  border: 2px solid var(--mss-service-ink);
  border-radius: 50%;
  color: var(--mss-service-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 850;
  height: 40px;
  width: 40px;
}

.mss-service-stage h3 {
  color: var(--mss-service-ink);
  font-size: 16.5px;
  font-weight: 850;
  margin: 3px 0 4px;
}

.mss-service-stage p,
.mss-service-doctor small {
  color: var(--mss-service-muted);
  font-size: 14.5px;
}

.mss-service-aside {
  top: 96px;
}

.mss-service-price-card {
  background:
    radial-gradient(190px 150px at 92% 0%, rgba(242, 103, 34, .16), transparent 72%),
    linear-gradient(180deg, #ffffff 0%, #fff7f1 100%);
  border: 1px solid #ffd8c5;
  border-radius: 22px;
  box-shadow: 0 22px 46px -28px rgba(242, 103, 34, .42), 0 1px 2px rgba(21, 33, 28, .05);
  color: var(--mss-service-ink);
  padding: 26px;
  position: relative;
}

.mss-service-price-card::after {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 54%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.mss-service-price-card > * {
  position: relative;
  z-index: 1;
}

.mss-service-price-card__badge {
  background: var(--mss-service-accent-soft);
  color: var(--mss-service-accent-ink);
  justify-content: center;
  margin: 0 auto 22px;
  width: max-content;
}

.mss-service-price-card__badge::before {
  background: var(--mss-service-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(242, 103, 34, .15);
  content: "";
  height: 6px;
  margin-right: 8px;
  width: 6px;
}

.mss-service-price-card__label {
  color: #7b6b62;
  font-size: 13px;
  letter-spacing: 0;
  margin: 4px auto 8px;
  text-align: center;
  text-transform: none;
}

.mss-service-price-card__price {
  justify-content: center;
  margin-bottom: 22px;
  text-align: center;
}

.mss-service-price-card__price strong,
.mss-service-price-option__amount span {
  color: var(--mss-service-accent);
  font-family: inherit;
  font-size: clamp(2.3rem, 4vw, 3.45rem);
  font-weight: 950;
}

.mss-service-price-card__price span,
.mss-service-price-option__amount small {
  color: #7b6b62;
}

.mss-service-discount {
  background: linear-gradient(180deg, #fff8f3 0%, #fff2e8 100%);
  border: 1px solid #fbd7bf;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(242, 103, 34, .08);
  display: grid;
  gap: 0;
  margin: -8px auto 22px;
  max-width: 360px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  width: min(100%, 360px);
}

.mss-service-discount--option {
  margin: 0 0 14px;
  width: 100%;
}

.mss-service-discount__main {
  display: grid;
  gap: 12px;
  padding: 14px 16px 13px;
}

.mss-service-discount__top {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.mss-service-discount__badge {
  align-self: flex-start;
  background: rgba(242, 103, 34, .12);
  border-radius: 999px;
  color: var(--mss-service-accent);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .01em;
  padding: 6px 11px;
  white-space: nowrap;
}

.mss-service-discount__top strong {
  color: #17332b;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  font-weight: 950;
  letter-spacing: -.03em;
  line-height: .94;
  text-align: right;
  white-space: nowrap;
}

.mss-service-discount__top strong small {
  color: #7b6b62;
  font-size: .34em;
  font-weight: 800;
  letter-spacing: 0;
  margin-left: 6px;
}

.mss-service-discount__sale {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.mss-service-discount__sale span {
  color: #8d6e5c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.mss-service-discount__sale b {
  color: var(--mss-service-accent);
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.mss-service-discount__sale b small {
  color: inherit;
  font-size: .58em;
  font-weight: 800;
  margin-left: 4px;
}

.mss-service-discount__note {
  align-items: flex-start;
  background: rgba(242, 103, 34, .08);
  border-top: 1px solid rgba(242, 103, 34, .14);
  color: #b14d17;
  display: flex;
  gap: 8px;
  padding: 10px 16px 11px;
}

.mss-service-discount__note svg {
  flex: 0 0 auto;
  height: 15px;
  margin-top: 1px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 15px;
}

.mss-service-discount__note em {
  color: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.mss-service-price-options {
  gap: 14px;
  justify-items: center;
}

.mss-service-price-option,
.mss-service-price-option.is-primary {
  background: rgba(255, 255, 255, .78);
  border-color: #ffd8c5;
  border-radius: 18px;
  color: var(--mss-service-ink);
  display: grid;
  justify-items: center;
  max-width: 440px;
  padding: 24px 22px;
  text-align: center;
  width: 100%;
}

.mss-service-price-option.is-primary {
  box-shadow: inset 0 0 0 1px rgba(242, 103, 34, .18);
}

.mss-service-price-option__head {
  align-items: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  margin-bottom: 14px;
}

.mss-service-price-option__head strong {
  color: #17332b;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 28ch;
}

.mss-service-price-option__amount {
  align-items: baseline;
  color: var(--mss-service-accent);
  justify-content: center;
}

.mss-service-price-option__amount span {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  line-height: .95;
}

.mss-service-price-option__meta {
  gap: 9px;
  justify-items: center;
  width: 100%;
}

.mss-service-price-option__meta div {
  justify-content: center;
  max-width: 320px;
  width: 100%;
}

.mss-service-price-option__meta span,
.mss-service-price-card__facts span {
  background: #fff0e8;
  color: var(--mss-service-accent);
}

.mss-service-price-option__meta p,
.mss-service-price-card__facts p {
  color: #365349;
  font-size: 13.5px;
}

.mss-service-price-card__facts {
  background: rgba(255, 255, 255, .72);
  border-radius: 14px;
  justify-items: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 380px;
  padding: 22px;
  width: 100%;
}

.mss-service-price-card__facts div {
  justify-content: center;
  max-width: 320px;
  width: 100%;
}

.mss-service-cta {
  gap: 10px;
  background: var(--mss-service-accent);
  box-shadow: 0 12px 26px -12px rgba(242, 103, 34, .95);
  color: #ffffff;
  font-weight: 900;
  min-height: 52px;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mss-service-cta:hover {
  background: #e95c19;
  box-shadow: 0 16px 30px -14px rgba(242, 103, 34, 1);
  transform: translateY(-1px);
}

.mss-service-cta svg {
  flex: 0 0 auto;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  width: 18px;
}

.mss-service-cta span {
  display: inline-flex;
  min-width: 0;
}

.mss-service-phone {
  background: var(--mss-service-accent);
  border: 1px solid var(--mss-service-accent);
  box-shadow: 0 12px 26px -12px rgba(242, 103, 34, .95);
  color: #ffffff;
  gap: 10px;
  margin-top: 22px;
  min-height: 52px;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mss-service-phone:hover {
  background: #e95c19;
  color: #ffffff;
  box-shadow: 0 16px 30px -14px rgba(242, 103, 34, 1);
  transform: translateY(-1px);
}

.mss-service-phone svg {
  flex: 0 0 auto;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  width: 18px;
}

.mss-service-phone span {
  display: inline-flex;
  min-width: 0;
}

.mss-service-guarantees {
  border-color: #ffd8c5;
  margin-top: 18px;
}

.mss-service-guarantees div {
  color: #5f6c65;
  font-size: 13px;
  line-height: 1.45;
}

.mss-service-guarantees span {
  color: var(--mss-service-green);
}

.mss-service-seo {
  background: var(--mss-service-bg);
  padding: 0 0 76px;
}

.mss-service-seo__inner {
  max-width: 1256px;
}

.mss-service-seo__head h2 {
  color: var(--mss-service-ink);
  font-family: inherit;
  font-weight: 950;
  letter-spacing: 0;
}

.mss-service-seo__head span {
  background: var(--mss-service-accent-soft);
  color: var(--mss-service-accent-ink);
}

.mss-service-seo__card {
  padding: clamp(24px, 4vw, 38px);
}

.mss-service-seo__toggle {
  border-color: var(--mss-service-line);
  border-radius: 13px;
  color: var(--mss-service-ink);
}

@media (prefers-reduced-motion: reduce) {
  .mss-service-pulse__beat,
  .mss-service-pulse__dot {
    animation: none;
  }

  .mss-service-pulse__beat {
    stroke-dashoffset: 0;
  }

  .mss-service-pulse__dot {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .mss-service-grid {
    grid-template-columns: 1fr;
  }

  .mss-service-aside {
    order: -1;
    position: static;
  }
}

@media (max-width: 760px) {
  .mss-service-hero {
    padding: 10px 0 34px;
  }

  .mss-service-aside {
    order: 0;
  }

  .mss-service-breadcrumbs {
    margin-bottom: 14px;
  }

  .mss-service-title {
    font-size: clamp(1.85rem, 10vw, 2.35rem);
    max-width: none;
  }

  .mss-service-pulse {
    height: 48px;
  }

  .mss-service-price-card {
    border-radius: 18px;
    padding: 22px;
  }

  .mss-service-discount {
    margin: 0 auto 18px;
    width: 100%;
  }

  .mss-service-discount__main {
    gap: 10px;
    padding: 13px 14px 12px;
  }

  .mss-service-discount__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .mss-service-discount__top strong {
    font-size: clamp(2rem, 9vw, 2.7rem);
    text-align: left;
  }

  .mss-service-discount__sale b {
    font-size: 1.26rem;
  }

  .mss-service-discount__note {
    padding: 9px 14px 10px;
  }

  .mss-service-discount__note em {
    font-size: 11px;
  }

  .mss-service-seo__content table {
    min-width: 620px;
  }

  .mss-service-seo__content th,
  .mss-service-seo__content td {
    padding: 14px 16px;
    white-space: nowrap;
  }
}
