.a8-lower-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(18px, 2.2vw, 30px);
}

.a8-lower-heading h2,
.a8-contact h2 {
  font-size: clamp(31px, 3.1vw, 48px);
  line-height: 1.1;
  text-wrap: balance;
}

.a8-section-link,
.a8-offer-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 44px;
  max-width: 100%;
  width: fit-content;
  padding: 8px 15px;
  border: 1px solid #c1d6ca;
  border-radius: 99px;
  background: #f7faf7;
  color: #006459;
  font-size: 15px;
  font-weight: 640;
  line-height: 1.3;
}

.a8-section-link:hover,
.a8-offer-details:hover {
  background: #e3f2e9;
}

.a8-offer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.a8-faq-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px clamp(25px, 3.2vw, 48px);
  padding: clamp(18px, 3vw, 42px);
  border-radius: 24px;
  background: #fff;
}

.a8-faq .a8-lower-heading {
  align-items: flex-start;
}

.a8-faq-index {
  max-width: min(100%, 420px);
}

.a8-faq-index summary {
  gap: 9px;
  margin-left: auto;
  list-style: none;
  cursor: pointer;
}

.a8-faq-index summary::-webkit-details-marker {
  display: none;
}

.a8-faq-index summary span {
  font-size: 17px;
  line-height: 1;
}

.a8-faq-index[open] summary span {
  transform: rotate(45deg);
}

.a8-faq-index nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 8px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #dfe8e2;
  border-radius: 13px;
  background: #fff;
}

.a8-faq-index nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 7px;
  color: #096353;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.a8-faq-group + .a8-faq-group {
  margin-top: 21px;
}

.a8-faq-group h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.2;
}

.a8-question {
  border-top: 1px solid #dfe8e2;
}

.a8-question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 51px;
  padding-block: 9px;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.38;
  list-style: none;
  cursor: pointer;
}

.a8-question summary::-webkit-details-marker {
  display: none;
}

.a8-question summary:hover,
.a8-question[open] summary {
  color: #006459;
}

.a8-question-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: none;
  border: 1px solid #cbded3;
  border-radius: 50%;
  background: #eef6f2;
  color: #006459;
}

.a8-question-icon::before,
.a8-question-icon::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.a8-question-icon::after {
  transform: rotate(90deg);
}

.a8-question[open] .a8-question-icon::after {
  display: none;
}

.a8-answer {
  max-width: 60ch;
  padding: 3px 9px 9px 0;
  color: #435450;
  font-size: 16px;
  line-height: 1.58;
  animation: none;
}

.a8-answer a,
.a8-faq-route {
  color: #006459;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.a8-answer > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 2px;
}

.a8-faq-surgical {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 0 25px;
  padding: 11px 16px;
  border-radius: 13px;
  background: #eef5ef;
}

.a8-faq-surgical h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -.025em;
}

.a8-faq-surgical > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.a8-faq-route {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 15px;
}

.a8-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 19px);
}

.a8-news-card {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-width: 0;
  padding: 17px;
  border: 1px solid #e4e9e4;
  border-radius: 18px;
  background: #fff;
}

.a8-news-card:hover {
  border-color: #9bc4b6;
}

.a8-news-card:focus-within {
  outline: 2px solid #00786b;
  outline-offset: 2px;
}

.a8-news-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 11px;
  object-fit: cover;
}

.a8-news-card time {
  color: #496159;
  font-size: 13px;
  font-weight: 610;
}

.a8-news-card h3 {
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.a8-news-card h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: 2px;
  padding-block: 3px;
  color: #096353;
}

.a8-news-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.a8-news-card h3 a:hover {
  color: #006459;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.a8-news-card p {
  color: #435450;
  font-size: 15px;
  line-height: 1.42;
}

.a8-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(24px, 4.2vw, 64px);
  padding: clamp(22px, 4.2vw, 57px);
  border-radius: 27px;
  background: #fff;
}

.a8-contact-address,
.a8-footer address {
  font-style: normal;
}

.a8-contact-address {
  margin-top: 16px;
  color: #3d534b;
  font-size: clamp(17px, 1.65vw, 23px);
}

.a8-contact-phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 22px;
  margin-top: 11px;
}

.a8-contact-phone,
.a8-contact-secondary,
.a8-how-to-get {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: #005e50;
  font-weight: 610;
  text-underline-offset: 4px;
}

.a8-contact-phone {
  gap: 9px;
  font-size: clamp(21px, 2.5vw, 33px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.a8-contact-phone .icon {
  width: 20px;
  height: 20px;
}

.a8-contact-phone:hover,
.a8-contact-secondary:hover {
  text-decoration: underline;
}

.a8-contact-secondary {
  font-size: 17px;
}

.a8-contact-hours {
  display: grid;
  max-width: 410px;
  margin: 12px 0 17px;
  color: #334841;
  font-size: 16px;
}

.a8-contact-hours > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 12px;
  padding-block: 6px;
  border-bottom: 1px solid #e5ebe6;
}

.a8-contact-hours dd {
  margin: 0;
  color: #253e35;
  font-weight: 630;
  white-space: nowrap;
}

.a8-contact-book {
  min-height: 48px;
  padding-inline: 19px;
}

.a8-contact-route {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
  padding: clamp(21px, 3.2vw, 40px);
  border-radius: 20px;
  background: #e7f3eb;
}

.a8-route-art {
  display: block;
  width: clamp(105px, 13vw, 158px);
  height: auto;
  margin: -7px 0 0 -9px;
}

.a8-contact-route h3 {
  font-size: clamp(23px, 2.4vw, 33px);
  line-height: 1.16;
}

.a8-contact-route p {
  margin-top: 8px;
  color: #3b5349;
  font-size: 16px;
  line-height: 1.48;
}

.a8-contact-route-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 15px;
  margin-top: 5px;
}

.a8-how-to-get {
  font-size: 15px;
  text-decoration: underline;
}

.a8-footer {
  margin-top: clamp(48px, 5.4vw, 78px);
  padding: clamp(30px, 4.5vw, 59px) 0 33px;
  background: #222e2d;
  color: #f2f8f4;
}

.a8-footer :focus-visible {
  outline-color: #9ae7d3;
}

.a8-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr) minmax(0, 1.05fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 24px clamp(16px, 3vw, 46px);
}

.a8-footer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: min(173px, 100%);
  margin-bottom: 10px;
}

.a8-footer address,
.a8-footer-hours {
  color: #d9e8e1;
  font-size: 15px;
  line-height: 1.5;
}

.a8-footer-hours {
  margin-top: 5px;
}

.a8-footer-hours span {
  display: block;
}

.a8-footer-phone {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 5px;
  color: #b5eee0;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.a8-footer-brand .a8-nav-book {
  margin-top: 4px;
  background: #8ee1cb;
  color: #123931;
}

.a8-footer-brand .a8-nav-book:hover {
  background: #b9f4e3;
}

.a8-footer-group h2,
.a8-footer-group summary {
  margin: 0 0 9px;
  color: #f6fbf8;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.a8-footer-group summary {
  display: none;
}

.a8-footer-group .a8-nav-list a {
  min-height: 34px;
  width: fit-content;
  padding: 5px 0;
  color: #ddebe5;
  font-size: 15px;
}

.a8-footer-group .a8-nav-list a:hover {
  color: #b5eee0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.a8-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1px 19px;
  margin-top: 24px;
  padding-block: 9px 11px;
  border-block: 1px solid #4f645e;
}

.a8-footer-actions,
.a8-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 21px;
}

.a8-footer-meta button,
.a8-footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 0;
  background: transparent;
  color: #b5eee0;
  font-size: 15px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.a8-footer-legal {
  margin-top: 19px;
}

.a8-footer-warning {
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 620;
  line-height: 1.42;
}

.a8-footer-legal-copy,
.a8-footer-copyright {
  margin-top: 10px;
  color: #d6e3dd;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .a8-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .a8-contact {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .a8-contact-route {
    padding: 19px;
  }

  .a8-route-art {
    margin-bottom: -4px;
  }

  .a8-footer {
    padding-bottom: max(86px, calc(75px + env(safe-area-inset-bottom)));
  }

  .a8-footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .a8-footer-brand {
    margin-bottom: 18px;
  }

  .a8-footer-group {
    border-top: 1px solid #4f645e;
  }

  .a8-footer-group h2 {
    display: none;
  }

  .a8-footer-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    margin: 0;
    padding-block: 7px;
    list-style: none;
    cursor: pointer;
  }

  .a8-footer-group summary::-webkit-details-marker {
    display: none;
  }

  .a8-footer-group summary .icon {
    width: 19px;
    height: 19px;
  }

  .a8-footer-group[open] summary .icon {
    transform: rotate(180deg);
  }

  .a8-footer-group .a8-nav-list {
    padding-bottom: 10px;
  }

  .a8-footer-group .a8-nav-list a {
    min-height: 44px;
  }

  .a8-footer-meta {
    margin-top: 0;
  }
}

@media (max-width: 1020px) {
  .a8-news-grid {
    grid-template-columns: 1fr;
  }

  .a8-news-card {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .a8-faq-panel {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .a8-faq-surgical {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 13px;
  }

  .a8-news-card {
    grid-template-columns: minmax(72px, 28%) minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
}

.a8-offer {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #e3e9e5;
  border-radius: 22px;
  background: #fff;
}

.a8-offer-art {
  display: grid;
  place-items: center;
  min-height: 145px;
  aspect-ratio: 2.12 / 1;
  border-radius: 21px 21px 0 0;
  overflow: hidden;
}

.a8-offer-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.a8-offer-art--hygiene {
  background: #e9e0cd;
}

.a8-offer-art--whitening {
  background: #d8efec;
}

.a8-offer-art--implant {
  background: #385757;
}

.a8-offer-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(17px, 2vw, 28px);
}

.a8-offer h3 {
  font-size: clamp(21px, 2.05vw, 31px);
  line-height: 1.17;
  text-wrap: balance;
}

.a8-offer-body p {
  color: #435450;
  font-size: 16px;
  line-height: 1.53;
}

.a8-offer-details {
  margin-top: auto;
}

@media (max-width: 730px) {
  .a8-lower-heading {
    flex-wrap: wrap;
  }

  .a8-offer-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86%, 370px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-color: #8cb5a8 #e0ebe5;
    scrollbar-width: thin;
    padding: 2px 1px 8px;
  }

  .a8-offer-grid:focus-visible {
    outline: 3px solid #00786b;
    outline-offset: 3px;
    border-radius: 5px;
  }

  .a8-offer {
    scroll-snap-align: start;
  }
}
