:root {
  --accent: #b4a898;
  --accent-dark: #9f8f7a;
  --ink: #000;
  --muted: #333;
  --line: #b7b7b7;
  --panel: #f7f7f7;
  --footer: #333;
  --nova: #848482;
  --dent: #723e3c;
  --font: "Manrope", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.2;
  background: #fff;
  text-transform: uppercase;
}

.page-wrapper,
.page-wrapper * {
  text-transform: uppercase !important;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.uk-container.uk-container-xlarge {
  max-width: 1770px;
}

html,
body {
  overflow-x: clip;
}

.page-wrapper,
.page-main,
.page-main section,
.uk-container {
  max-width: 100%;
  min-width: 0;
}

.uk-container {
  box-sizing: border-box;
  width: 100%;
}

.uk-grid {
  flex-wrap: wrap;
  width: 100%;
  margin-left: 0 !important;
}

.uk-grid > * {
  padding-left: 0 !important;
  min-width: 0;
}

.page-main .uk-grid {
  row-gap: 24px;
  column-gap: 24px;
}

.page-main .uk-grid > * {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 960px) {
  .page-main .uk-child-width-1-2\@m > * {
    width: calc(50% - 12px);
  }
}

@media (min-width: 1200px) {
  .page-main .uk-child-width-1-2\@l > * {
    width: calc(50% - 12px);
  }

  .page-main .uk-child-width-1-2\@l > .uk-width-1-1 {
    width: 100%;
  }
}

.uk-h1,
.section-title {
  margin: 0 0 24px;
  color: var(--accent);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 96px);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.placeholder {
  margin: 0 0 16px;
  color: #8a8a8a;
}

.brand-logo {
  display: inline-block;
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
}

.brand-logo .brand-nova {
  color: var(--nova);
}

.brand-logo .brand-dent {
  color: var(--dent);
}

.brand-logo--footer {
  font-size: 42px;
}

.brand-logo--footer .brand-nova,
.brand-logo--footer .brand-dent {
  color: #fff;
}

.brand-logo--footer .brand-dent {
  color: var(--accent);
}

.page-header .brand-logo {
  font-size: 42px;
}

.uk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 50px;
  border: 0;
  border-radius: 0 0 0 25px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background 0.25s linear;
}

.uk-button:hover,
.uk-button:focus {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 980;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e4e4e4;
}

.page-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 18px 0;
}

.page-header__scroll-menu {
  flex: 1;
}

.mainmenu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mainmenu li {
  flex: 0 0 auto;
}

.mainmenu a {
  color: #000;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.mainmenu a:hover,
.mainmenu a:focus {
  color: var(--accent);
}

.page-header__right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 18px;
  margin-left: auto;
}

.header-address {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.header-address__city,
.header-address__street {
  display: block;
  white-space: nowrap;
}

.header-address:hover,
.header-address:focus {
  color: var(--accent);
}

.page-header__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.phone {
  color: #000;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.phone:hover,
.phone:focus {
  color: var(--accent);
}

.phone--mobile {
  display: none;
}

.icon-button {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero {
  padding: 12px 0 0;
}

.hero__layout {
  display: flex;
  align-items: stretch;
  gap: 32px;
}

.hero__copy {
  flex: 1 1 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero__doctor {
  flex: 0 1 48%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.hero__doctor img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
}

.hero__title {
  margin-bottom: 20px;
  font-size: clamp(26px, 4.2vw, 64px);
  overflow-wrap: break-word;
}

.hero-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 600;
}

.hero-phones a {
  color: #000;
  text-decoration: none;
}

.hero-phones a:hover,
.hero-phones a:focus {
  color: var(--accent);
}

.hero-media,
.media-frame {
  display: block;
  overflow: hidden;
  background: var(--panel);
}

.media-frame img,
.team-photo img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.media-frame img {
  min-height: 345px;
  max-height: 640px;
}

.philosophy {
  padding-top: 0;
}
.team,
.reviews,
.consultation,
.steps-service,
.type-service,
.faq-section,
.prices-section,
.contact-section {
  padding: 40px 0;
}

.philosophy__wrapper,
.team__wrapper {
  background: var(--panel);
}

.philosophy__content,
.care__content,
.consultation__content {
  padding: 48px 40px;
}

.philosophy__media img,
.care__media img,
.consultation__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.section-header {
  padding: 28px 28px 12px;
}

.section-header__intro {
  color: #222;
}

.team-photo img {
  width: 100%;
  max-height: 760px;
}

.reviews-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 10px 20px 28px;
}

.review-card__box {
  overflow: hidden;
  aspect-ratio: 205 / 293;
  background: #e7e7e7;
}

.review-card__box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-item {
  margin-bottom: 28px;
}

.steps-item__numb span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 600;
}

.steps-item__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.type-service-box {
  padding: 24px;
  background: var(--panel);
}

.type-service-box + .type-service-box {
  margin-top: 28px;
}

.type-service-box h3 {
  margin: 0 0 16px;
  color: #000;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}

.type-service-box img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.accordion-block .uk-accordion-title::before {
  width: 2em;
  height: 2em;
  margin-left: 12px;
  background-size: 2em 2em;
}

.uk-accordion-title {
  color: #000;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  text-transform: uppercase;
}

.accordion-block .uk-accordion-content {
  color: #222;
}

.prices-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prices-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.prices-list strong {
  flex: 0 0 auto;
  font-weight: 700;
}

.contact-section {
  --page-gutter: 15px;
}

@media (min-width: 640px) {
  .contact-section {
    --page-gutter: 30px;
  }
}

@media (min-width: 960px) {
  .contact-section {
    --page-gutter: 40px;
  }
}

@media (min-width: 1770px) {
  .contact-section {
    --page-gutter: calc((100vw - 1770px) / 2 + 40px);
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 24px;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: var(--page-gutter);
    align-items: stretch;
  }
}

.contact-copy {
  max-width: 640px;
}

.contact-map {
  overflow: hidden;
  min-height: 420px;
  height: 100%;
  background: var(--panel);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.contact-facts {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.contact-facts a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.page-footer {
  padding-top: 20px;
}

.page-footer__wrapper {
  margin-bottom: 40px;
  background: var(--footer);
  color: #fff;
}

.page-footer__top {
  padding: 48px 40px 28px;
}

.page-footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.page-footer__logo {
  flex: 0 0 180px;
}

.page-footer__contacts {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.phone-footer {
  display: block;
  color: #fff;
  text-decoration: none;
}

.phone-footer__number {
  display: block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
}

.footer-instagram:hover,
.footer-instagram:focus {
  color: var(--accent);
  border-color: var(--accent);
}

.adress-list__value a {
  display: block;
}

.phone-footer__label,
.adress-list__value > span {
  display: block;
  margin-top: 4px;
  color: #cfcfcf;
  font-size: inherit;
}

.footer-title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-menu,
.adress-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a,
.adress-list a,
.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-menu a:hover,
.adress-list a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.footer-menu li + li,
.adress-list li + li {
  margin-top: 8px;
}

.page-footer__menu {
  min-width: 180px;
}

.page-footer__bottom {
  padding: 18px 40px 28px;
  border-top: 1px solid #b8b6c3;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #ddd;
  font-size: 14px;
}

.button-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.button-to-top:hover,
.button-to-top:focus {
  background: var(--accent-dark);
  color: #fff;
}

.page-footer-buttons {
  display: none;
}

.uk-offcanvas-overlay {
  background: transparent !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.uk-offcanvas-overlay::before {
  background: transparent;
}

#offcanvas .uk-offcanvas-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: min(500px, 100%);
  padding: 0;
  background: #fff;
  color: #000;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3), 0 6px 10px 4px rgba(0, 0, 0, 0.15);
}

#offcanvas .uk-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 10px;
}

#offcanvas .brand-logo {
  font-size: 42px;
}

#offcanvas .brand-logo .brand-nova {
  color: var(--nova);
}

#offcanvas .brand-logo .brand-dent {
  color: var(--dent);
}

#offcanvas .menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#offcanvas .uk-offcanvas-body {
  flex: 1;
  padding: 10px 0 24px;
  overflow: auto;
}

#offcanvas .uk-nav-default > li + li {
  margin-top: 22px;
}

#offcanvas .uk-nav-default > li > a {
  display: block;
  padding: 0 32px;
  color: #000;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

#offcanvas .uk-nav-default > li > a:hover,
#offcanvas .uk-nav-default > li > a:focus {
  color: var(--accent);
}

#offcanvas .uk-offcanvas-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 24px 32px 36px;
}

.offcanvas-book {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(300px, 100%);
  height: 58px;
  padding: 0 22px;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}

.offcanvas-book:hover,
.offcanvas-book:focus {
  background: var(--accent-dark);
  color: #fff;
}

#offcanvas .offcanvas-phone {
  color: #333;
  font-size: 28px;
  font-weight: 500;
  text-decoration: none;
}

#offcanvas .offcanvas-phone:hover,
#offcanvas .offcanvas-phone:focus {
  color: var(--accent);
}

#offcanvas .offcanvas-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid #d5d5d5;
  border-radius: 50%;
  color: #111;
}

#offcanvas .offcanvas-instagram:hover,
#offcanvas .offcanvas-instagram:focus {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 1199px) {
  .page-header__scroll-menu {
    display: none;
  }

  .philosophy__content,
  .care__content,
  .consultation__content,
  .blog-panel,
  .page-footer__top,
  .page-footer__bottom {
    padding: 28px 18px;
  }

  .page-footer__inner {
    flex-wrap: wrap;
  }

  .reviews-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .review-card {
    flex: 0 0 210px;
  }
}

@media (max-width: 767px) {
  .page-header .brand-logo,
  #offcanvas .brand-logo {
    font-size: 32px;
  }

  .hero__layout {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hero__doctor {
    justify-content: center;
  }

  .hero__doctor img {
    height: auto;
    max-height: 560px;
    margin: 0 auto;
  }

  body {
    font-size: 16px;
  }

  .phone--desktop {
    display: none;
  }

  .phone--mobile {
    display: inline-flex;
  }

  .philosophy__media img,
  .care__media img,
  .consultation__media img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .page-footer-buttons {
    display: flex;
    position: fixed;
    z-index: 40;
    bottom: 24px;
    left: 50%;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    gap: 8px;
    transform: translateX(-50%);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 -2px 10px rgba(119, 119, 119, 0.3);
  }

  .page-footer-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
  }

  .button-to-top {
    display: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .phone--mobile {
    display: none;
  }
}

.blog-section {
  padding: 40px 0;
}

.blog-panel {
  background: var(--panel);
  padding: 48px 40px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
  padding: 0 0 48px;
  list-style: none;
}

.blog-list a {
  color: #000;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}

.blog-list time {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-size: 16px;
  font-weight: 400;
}

.blog-cover {
  display: block;
  width: 100%;
  max-height: 520px;
  margin: 0 0 28px;
  object-fit: cover;
}

.page-wrapper .blog-article,
.page-wrapper .blog-article * {
  text-transform: none !important;
}

.blog-article {
  max-width: 760px;
  padding-bottom: 64px;
  font-size: 18px;
  line-height: 1.55;
}

.blog-article p {
  margin: 0 0 16px;
}

.blog-article img {
  width: 100%;
  height: auto;
}
