.emax-page {
  --emax-section-space: 80px;
  color: var(--text-body);
}
.emax-page .row {
  --bs-gutter-x: 24px;
  column-gap: 0;
  row-gap: 24px;
}
.emax-page .row > [class*=col-] {
  min-width: 0;
}
.emax-page h1, .emax-page h2, .emax-page h3 {
  text-wrap: balance;
}
.emax-page a:focus-visible, .emax-page button:focus-visible, .emax-page summary:focus-visible, .emax-page [tabindex="0"]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 5px;
}
.emax-page .btn {
  white-space: normal;
  text-align: center;
}
@media screen and (max-width: 1199px) {
  .emax-page {
    --emax-section-space: 56px;
  }
  .emax-page .row {
    --bs-gutter-x: 20px;
    row-gap: 20px;
  }
}
@media screen and (max-width: 767px) {
  .emax-page {
    --emax-section-space: 40px;
  }
  .emax-page .row {
    --bs-gutter-x: 16px;
    row-gap: 16px;
  }
}

.emax-section {
  padding-block: var(--emax-section-space);
  scroll-margin-top: 100px;
}
.emax-section--soft {
  background: var(--bg-soft);
}
.emax-section__action {
  margin-top: 30px;
}

.emax-heading {
  margin-bottom: 36px;
}
.emax-heading h2 {
  max-width: 1100px;
}
.emax-heading p {
  max-width: 1000px;
  margin-top: 24px;
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .emax-heading {
    margin-bottom: 24px;
  }
  .emax-heading p {
    font-size: 16px;
    margin-top: 16px;
  }
}

.emax-hero {
  padding-block: 20px 48px;
}
.emax-hero__row {
  align-items: stretch;
}
.emax-hero__content {
  display: flex;
  flex-direction: column;
  padding-block: 16px;
}
.emax-hero__visual {
  display: flex;
}
.emax-hero h1 {
  margin-top: 16px;
  font-size: clamp(44px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1.2px;
}
.emax-hero h1 span {
  color: var(--teal);
  white-space: nowrap;
}
.emax-hero .emax-lead {
  max-width: 58ch;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.55;
}
.emax-hero__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 22px;
  font-size: 14px;
}
.emax-hero__price strong {
  color: var(--teal-dark);
  font-size: 26px;
  font-weight: 500;
}
.emax-hero__price--pending strong {
  font-size: 16px;
  color: var(--text-2);
  font-weight: 400;
}
.emax-hero__facts {
  order: -1;
  margin-top: 0;
}
@media screen and (max-width: 1199px) {
  .emax-hero {
    padding-bottom: 36px;
  }
  .emax-hero h1 {
    font-size: 40px;
    letter-spacing: -0.8px;
  }
  .emax-hero .emax-lead {
    font-size: 16px;
  }
}
@media screen and (max-width: 767px) {
  .emax-hero {
    padding-block: 16px 28px;
  }
  .emax-hero__content {
    padding-block: 0;
  }
  .emax-hero h1 {
    margin-top: 0;
    font-size: 34px;
    letter-spacing: -0.68px;
  }
  .emax-hero .emax-lead {
    margin-top: 16px;
  }
  .emax-hero__facts {
    order: 0;
    margin-top: 20px;
  }
  .emax-hero__facts .single_template_cover_wrap_inform_cost_item {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 18px;
  }
  .emax-hero__price {
    margin-top: 20px;
  }
  .emax-hero .emax-actions {
    margin-top: 20px;
  }
}

.emax-lead {
  max-width: 650px;
  margin-top: 24px;
  font-size: 18px;
}

.emax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.emax-media {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: var(--r-card);
  background: var(--teal-bg);
}
.emax-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.emax-media__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: 100%;
  padding: 28px;
  background: radial-gradient(ellipse at 25% 10%, #fff, transparent 75%);
  text-align: center;
  color: var(--teal-dark);
}
.emax-media__placeholder svg {
  flex-shrink: 0;
  opacity: 0.42;
}
.emax-media__placeholder span {
  max-width: 25ch;
  font-size: 14px;
}
.emax-media--hero {
  display: flex;
  flex: 1;
  min-height: 400px;
  aspect-ratio: auto;
  background: var(--bg-soft);
}
.emax-media--hero > img {
  position: absolute;
  inset: 0;
}
.emax-media--hero svg {
  width: 120px;
  height: 135px;
}
.emax-media--hero .emax-media__placeholder {
  flex: 1;
  width: 100%;
  height: auto;
  gap: 26px;
  background: none;
}
.emax-media--hero .emax-media__placeholder span {
  font-size: 16px;
}
.emax-media--about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 0;
  padding: 24px;
  aspect-ratio: auto;
  background: #fff;
  border: 1px solid var(--border-soft);
}
.emax-media--about > img {
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
}
.emax-media__steps {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  color: var(--teal-dark);
  font-size: 14px;
  text-align: center;
}
.emax-media__steps span {
  flex: 1;
  min-width: 0;
}
@media screen and (max-width: 767px) {
  .emax-media--hero {
    min-height: 280px;
  }
  .emax-media--hero svg {
    width: 80px;
    height: 90px;
  }
  .emax-media--about {
    height: auto;
    padding: 16px 8px;
  }
  .emax-media__steps {
    gap: 8px;
    font-size: 12px;
  }
}

.emax-copy p + p, .emax-copy p + h3 {
  margin-top: 20px;
}
.emax-copy .emax-list {
  margin-top: 18px;
}

.emax-note {
  padding: 20px 24px;
  margin-top: 26px;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: var(--teal-bg);
  line-height: 1.6;
}

.emax-card-row > [class*=col-] {
  display: flex;
}

.emax-card {
  width: 100%;
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-card);
  background: #fff;
}

.emax-card p {
  margin-top: 16px;
}

.emax-card__number {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}

.emax-card--teal {
  background: var(--teal-bg);
  border-color: transparent;
}

.emax-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.emax-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}

.emax-list li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.emax-page .emax-caption {
  color: var(--text-2);
  font-size: 14px;
}

.emax-price-card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 36px;
  border-radius: var(--r-card);
  background: var(--teal-bg);
}
.emax-price-card__content {
  flex: 1;
  min-width: 0;
}
.emax-price-card h3 {
  max-width: 620px;
  color: #444;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}
.emax-price-card__label {
  display: block;
  color: var(--text-2);
  font-size: 14px;
  line-height: 20px;
}
.emax-price-card__content .emax-price-card__label {
  margin-top: 24px;
  margin-bottom: 8px;
}
.emax-price-card__description {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.6;
}
.emax-price-card__booking {
  display: flex;
  flex: 0 0 300px;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 40px;
  border-left: 1px solid rgba(11, 157, 166, 0.2);
}
.emax-price-card__amount {
  display: block;
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.8px;
}
.emax-price-card .btn {
  min-height: 44px;
  margin-top: 24px;
}
@media screen and (max-width: 1199px) {
  .emax-price-card {
    gap: 24px;
    padding: 28px;
  }
  .emax-price-card__booking {
    flex-basis: 250px;
    padding-left: 24px;
  }
  .emax-price-card h3 {
    font-size: 22px;
  }
  .emax-price-card__amount {
    font-size: 36px;
  }
}
@media screen and (max-width: 767px) {
  .emax-price-card {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px;
  }
  .emax-price-card h3 {
    font-size: 20px;
  }
  .emax-price-card__booking {
    flex-basis: auto;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(11, 157, 166, 0.2);
  }
  .emax-price-card__content .emax-price-card__label {
    margin-top: 20px;
  }
  .emax-price-card .btn {
    width: 100%;
  }
}

.emax-price__note {
  margin-top: 20px;
  max-width: 1000px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.emax-table-wrap {
  overflow-x: auto;
}

.emax-table-wrap table {
  min-width: 640px;
}

.emax-page .emax-table-wrap tbody th {
  background: #e7f7f5;
  color: #121212;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.32px;
}

.emax-table__note {
  margin-top: 24px;
  font-size: 14px;
}

.emax-steps {
  padding: 0;
  list-style: none;
}

.emax-warranty {
  height: 100%;
}
.emax-warranty h3 {
  margin-top: 18px;
}
.emax-warranty a {
  display: inline-block;
  margin-top: 26px;
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.emax-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.emax-page .emax-hero__facts .single_template_cover_wrap_inform_cost_item {
  background: var(--teal-bg);
}
.emax-page .emax-heading .section_title {
  margin: 0;
  text-align: left;
  max-width: 1100px;
}
.emax-page .emax-section.procedure, .emax-page .emax-section.our_doctors, .emax-page .emax-section.answers, .emax-page .emax-section.art_gallery, .emax-page .emax-section.free_consult {
  margin-top: 0;
}
.emax-page .emax-section.art_gallery {
  display: block;
}
.emax-page .emax-benefits {
  overflow: hidden;
}
.emax-page .emax-benefits .info p {
  font-size: 14px;
  line-height: 20px;
}
.emax-page .emax-benefits .swiper-wrapper {
  align-items: stretch;
}
.emax-page .art_gallery_wrap .emax-media {
  height: 100%;
  aspect-ratio: 1;
}
.emax-page .art_gallery_wrap .emax-media img {
  object-fit: contain;
}
.emax-page .cost_type_services_sw_item_head_title {
  line-height: 30px;
}
.emax-page .free_consult_wrap .row {
  row-gap: 24px;
}
.emax-page .free_consult_wrap .col-xl-7 {
  position: relative;
  z-index: 1;
}

.emax-faq {
  max-width: 960px;
}
.emax-faq details {
  padding: 24px;
  border-radius: 14px;
  background: #f8f8f8;
}
.emax-faq details + details {
  margin-top: 10px;
}
.emax-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  list-style: none;
  cursor: pointer;
  color: #444;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.48px;
}
.emax-faq summary::-webkit-details-marker {
  display: none;
}
.emax-faq summary svg {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  transition: transform 0.2s;
}
.emax-faq details[open] summary svg {
  transform: rotate(180deg);
}
.emax-faq summary:hover svg circle {
  fill: #9f9f9f;
}
.emax-faq summary:hover svg path {
  stroke: #fff;
}
.emax-faq__answer {
  margin-top: 20px;
  color: #3f3f3f;
  font-size: 16px;
  line-height: 22px;
}
@media screen and (max-width: 1199px) {
  .emax-faq details {
    padding: 20px;
  }
  .emax-faq summary {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emax-page *, .emax-page *::before, .emax-page *::after {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}
@media screen and (max-width: 767px) {
  .emax-card {
    padding: 24px;
  }
  .emax-lead {
    font-size: 16px;
    margin-top: 20px;
  }
  .emax-card__number {
    margin-bottom: 22px;
  }
  .emax-section {
    scroll-margin-top: 90px;
  }
}
