* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: #000;
  font-family: "DM Sans", sans-serif;
}

body.brand-intro-lock {
  overflow: hidden;
}

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: #000;
  opacity: 1;
  will-change: opacity;
  transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1);
}

.brand-intro.brand-intro--exit {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1);
}

.brand-intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: min(440px, 88vw);
  transition:
    opacity 0.85s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.85s cubic-bezier(0.33, 1, 0.68, 1);
}

.brand-intro.brand-intro--exit .brand-intro-inner {
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
}

.brand-intro-logo {
  display: block;
  width: min(280px, 62vw);
  max-width: 100%;
  height: auto;
  max-height: min(130px, 20vh);
  object-fit: contain;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.94) translateY(16px);
  filter: drop-shadow(0 8px 32px rgba(199, 184, 169, 0.22));
  transition:
    opacity 0.9s cubic-bezier(0.34, 1, 0.64, 1),
    transform 0.9s cubic-bezier(0.34, 1, 0.64, 1);
}

.brand-intro--ready .brand-intro-logo {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.brand-intro-welcome {
  margin: 32px 0 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #c7b8a9;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1) 0.18s,
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1) 0.18s;
}

.brand-intro--ready .brand-intro-welcome {
  opacity: 1;
  transform: translateY(0);
}

.brand-intro-line {
  margin-top: 26px;
  height: 2px;
  width: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(199, 184, 169, 0.35) 20%,
    #c7b8a9 50%,
    rgba(199, 184, 169, 0.35) 80%,
    transparent
  );
  transition: width 0.95s cubic-bezier(0.34, 1, 0.64, 1) 0.4s;
}

.brand-intro--ready .brand-intro-line {
  width: min(200px, 55vw);
}

@media (prefers-reduced-motion: reduce) {
  .brand-intro,
  .brand-intro.brand-intro--exit {
    transition-duration: 0.28s;
  }

  .brand-intro-inner {
    transition-duration: 0.2s;
  }

  .brand-intro.brand-intro--exit .brand-intro-inner {
    transform: none;
  }

  .brand-intro-logo {
    width: min(280px, 62vw) !important;
    max-height: min(130px, 20vh) !important;
    opacity: 1 !important;
    transform: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .brand-intro-welcome,
  .brand-intro-line {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .brand-intro-line {
    width: min(200px, 55vw) !important;
  }
}

/* Scroll-triggered reveals (Intersection Observer adds .scroll-reveal--inview) */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition:
      opacity 1s cubic-bezier(0.33, 1, 0.68, 1),
      transform 1s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .scroll-reveal.scroll-reveal--inview {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .scroll-reveal.scroll-reveal--inview > * {
    animation: scroll-reveal-child 0.75s cubic-bezier(0.33, 1, 0.68, 1) both;
  }

  .scroll-reveal.scroll-reveal--inview > *:nth-child(1) {
    animation-delay: 0.08s;
  }

  .scroll-reveal.scroll-reveal--inview > *:nth-child(2) {
    animation-delay: 0.15s;
  }

  .scroll-reveal.scroll-reveal--inview > *:nth-child(3) {
    animation-delay: 0.22s;
  }

  .scroll-reveal.scroll-reveal--inview > *:nth-child(4) {
    animation-delay: 0.29s;
  }

  .scroll-reveal.scroll-reveal--inview > *:nth-child(5) {
    animation-delay: 0.36s;
  }

  .scroll-reveal.scroll-reveal--inview > *:nth-child(6) {
    animation-delay: 0.43s;
  }

  .scroll-reveal.scroll-reveal--inview > *:nth-child(7) {
    animation-delay: 0.5s;
  }

  .scroll-reveal.scroll-reveal--inview > *:nth-child(8) {
    animation-delay: 0.57s;
  }
}

@keyframes scroll-reveal-child {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
}

p {
  line-height: 1.5;
}

a {
  text-decoration: none;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  padding-left: 250px;
  padding-right: 250px;
  border-bottom: 1px solid #fff;
}

.header-logo-image {
  display: block;
  width: 108px;
  height: 50px;
  object-fit: contain;
}

.header-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  text-decoration: none;
}

.header-nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
}

.header-nav-toggle:focus-visible {
  outline: 2px solid #c7b8a9;
  outline-offset: 4px;
}

.header-nav-toggle-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
  width: 26px;
}

.header-nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease;
  transform-origin: center;
}

.site-header.is-nav-open .header-nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-nav-open .header-nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.is-nav-open .header-nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-header-bar {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  margin-left: 86px;
}

.header-logo:focus-visible {
  outline: 2px solid #c7b8a9;
  outline-offset: 6px;
}

.site-header-bar .links-header {
  margin-left: 0;
}

.site-header-bar .tel-header {
  margin-left: 0;
}

.site-header-bar .line-hdr {
  margin-left: 0;
  margin-right: 0;
  flex-shrink: 0;
}

.links-header {
  display: flex;
  gap: 50px;
  margin-left: 86px;
}

.links-header a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  transition:
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
}

.links-header a:hover {
  color: #c7b8a9;
}

.links-header a.nav-current {
  color: #c7b8a9;
}

.links-header a.nav-current:hover {
  color: #d9cec4;
}

.links-header a:focus-visible {
  outline: 2px solid #c7b8a9;
  outline-offset: 6px;
}

.tel-header {
  display: flex;
  gap: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  align-items: center;
  margin-left: 86px;
}

.tel-header a {
  color: #fff;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tel-header a:hover {
  color: #c7b8a9;
}

.tel-header a:focus-visible {
  outline: 2px solid #c7b8a9;
  outline-offset: 4px;
}

.tel-header img {
  width: 27px;
  height: 26px;
}

.socials-hdr {
  display: flex;
  gap: 20px;
}

.socials-hdr a {
  display: inline-flex;
  line-height: 0;
}

.socials-hdr img {
  width: 40px;
  height: 40px;
}

.line-hdr {
  width: 2px;
  height: 50px;
  background-color: #fff;
  margin-left: 50px;
  margin-right: 50px;
}

.main-content {
  padding-left: 250px;
  padding-right: 250px;
}

.video-section {
  position: relative;
  width: 100%;
  height: 750px;
  background-color: #000;
  margin-bottom: 160px;
}

.video-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 0;
}

.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-top {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
}

.video-overlay-top p {
  color: #c7b8a9;
  font-size: 16px;
  font-weight: 00;
  line-height: 1.3;
}

.video-overlay-text {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
}

.h1-50 {
  color: #fff;
  font-size: 50px;
  font-weight: 600;
  line-height: 62px;
  margin-bottom: 16px;
}

.btn-consultation,
.btn-consultation-4 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 20px;
  background-color: #c7b8a9;
  color: #000;
  border-radius: 10px;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.4s ease,
    background-color 0.35s ease;
}

.btn-consultation:hover,
.btn-consultation-4:hover {
  transform: translateY(-2px);
  background-color: #d4c5b7;
  box-shadow: 0 12px 32px rgba(199, 184, 169, 0.38);
}

.btn-consultation:active,
.btn-consultation-4:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(199, 184, 169, 0.25);
}

.btn-consultation:focus-visible,
.btn-consultation-4:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.beginning-blog {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: 320px;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  background-color: #c7b8a9;
  color: #fff;
  background-image: url("./img/main/tooth-3.png");
  background-repeat: no-repeat;
  background-position: 50% 40%;
  background-size: 40%;
  border-radius: 30px;
}

.btn-consultation img {
  width: 25px;
  height: 20px;
}

.btn-consultation-4 img {
  width: 22px;
  height: 18px;
}

.btn-consultation p,
.btn-consultation-4 p {
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
  color: #fff;
  transition:
    color 0.35s ease,
    letter-spacing 0.35s ease;
}

.btn-consultation:hover p,
.btn-consultation-4:hover p {
  letter-spacing: 0.02em;
}

.btn-consultation-4 {
  margin-top: 30px;
  display: flex;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.btn-consultation-4 p {
  min-width: 0;
  text-align: center;
}

.beginning-blog-left {
  width: 100%;
  max-width: 700px;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 60px;
  overflow-wrap: break-word;
}

.beginning-blog-line {
  width: 10px;
  align-self: stretch;
  flex-shrink: 0;
  background-color: #000;
}

.beginning-blog-right {
  width: 100%;
  max-width: 600px;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 60px;
  overflow-wrap: break-word;
}

.p-small {
  font-size: 14px;
  font-weight: 500;
}

.p-text {
  font-size: 16px !important;
}

.p-text-24 {
  font-size: 24px !important;
  font-weight: 500;
}

.h1-big {
  font-size: 48px;
  margin-bottom: 30px;
  margin-top: 40px;
}

.h1-big-xl {
  font-size: 70px;
  margin-bottom: 20px;
  margin-top: 90px;
  font-weight: 500;
}

.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.btn-consultation-2,
.btn-consultation-3 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 20px;
  background-color: transparent;
  border: 1px solid #c7b8a9;
  border-radius: 10px;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.btn-consultation-2:hover,
.btn-consultation-3:hover {
  transform: translateY(-2px);
  border-color: #fff;
  background-color: rgba(199, 184, 169, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.btn-consultation-2:focus-visible,
.btn-consultation-3:focus-visible {
  outline: 2px solid #c7b8a9;
  outline-offset: 4px;
}

.btn-consultation-2 img {
  width: 25px;
  height: 20px;
}

.btn-consultation-3 img {
  width: 21px;
  height: 21px;
}

.btn-consultation-2 p,
.btn-consultation-3 p {
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
  color: #c7b8a9;
  transition:
    color 0.35s ease,
    letter-spacing 0.35s ease;
}

.btn-consultation-2:hover p,
.btn-consultation-3:hover p {
  color: #fff;
  letter-spacing: 0.02em;
}

.tech-section {
  display: flex;
  justify-content: space-between;
  margin-top: 160px;
  gap: 60px;
  color: #fff;
}

.tech-section img {
  max-width: 585px;
  max-height: 527px;
}

.h1-medium {
  font-size: 26px;
  margin-bottom: 10px;
  margin-top: 30px;
  font-weight: 500;
}

.h1-medium-adv {
  font-size: 26px;
  margin-bottom: 4px;
  margin-top: 4px;
  font-weight: 500;
}

.h1-small-adv {
  font-size: 20px;
  margin-bottom: 4px;
  margin-top: 4px;
  font-weight: 500;
}

.advantages-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 160px;
  color: #fff;
  background-image: url("./img/main/img-bg-1.png");
  background-size: cover;
  padding-top: 90px;
  padding-bottom: 90px;
}

.advantages-section-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 160px;
  color: #fff;
}

.advantages-section-title {
  width: 50%;
  text-align: center;
}

.advantages-section-title-2 {
  text-align: center;
}

.advantages-section-cards {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.advantages-section-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  width: 100%;
  max-width: 290px;
  max-height: 445px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(6px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 10px 32px rgba(0, 0, 0, 0.28);
  border-radius: 160px;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 10px;
  padding-right: 10px;
}

.advantages-section-card img {
  width: 90px;
  height: 90px;
}

.advantages-section-card p {
  width: 90%;
}

.advantages-section-2 .advantages-section-cards {
  margin-top: 40px;
  align-items: stretch;
}

.advantages-section-2 .advantages-section-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  border-radius: 150px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 0;
}

.advantages-card-media {
  width: 100%;
  height: 255px;
  margin-bottom: -10px;
}

.advantages-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advantages-card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background-color: rgb(255, 255, 255);
  color: #232323;
  padding: 38px 34px;
  min-height: 210px;
}

.advantages-card-icon {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.advantages-card-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.advantages-section-2 .advantages-section-card .h1-medium-adv {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 600;
  color: #232323;
}

.advantages-section-2 .advantages-section-card .p-text {
  width: 100%;
  max-width: 230px;
  font-size: 18px;
  line-height: 1.35;
  color: #4f4f4f;
}

.services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
}

.services-section-main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
}

.services-section-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 50%;
  color: #fff;
}

.services-section-left {
  display: flex;
  width: 100%;
  margin-top: 30px;
}

.services-section-right {
  display: flex;
  width: 100%;
  justify-content: right;
  margin-top: 30px;
}

.services-section-images img {
  width: 100%;
  max-width: 262px;
  height: 100%;
  max-height: 471px;
}

.services-section-images {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.our-team-section {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 160px;
  color: #fff;
  background-image: url("./img/main/img-bg-2.png");
  background-size: cover;
  padding-top: 90px;
  padding-bottom: 90px;
}

.our-team-section-images {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.our-team-section-images-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  width: 100%;
}

.our-team-section-images-item img {
  width: 100%;
  height: 100%;
  max-width: 278px;
  max-height: 400px;
}

.our-team-section-images-item p {
  font-size: 14px;
  font-weight: 400 !important;
}

.our-team-section-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  color: #fff;
}

.our-team-section {
  padding-left: 250px;
  padding-right: 250px;
}

.advantages-card-text {
  width: 80%;
  font-size: 14px !important;
}

.reviews-section {
  margin-top: 160px;
  color: #fff;
}

.reviews-section-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.reviews-section-text .p-small {
  letter-spacing: 0.12em;
  font-size: 12px;
}

.reviews-section-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

.reviews-section-title-row img {
  width: 97px;
  height: 89px;
  object-fit: contain;
}

.reviews-section-title-row img:first-child {
  transform: translateY(36px);
}

.reviews-section-title-row img:last-child {
  transform: translateY(-36px);
}

.reviews-section-title-row .h1-big {
  margin: 0;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 600;
}

.reviews-marquee {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  min-height: 220px;
  margin-top: 100px;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.reviews-marquee-track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
}

.review-card {
  width: 560px;
  min-width: 560px;
  max-width: 560px;
  height: 220px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 80px;
  box-sizing: border-box;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
}

.review-text {
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  background-image: url("./img/main/logo-rev.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 56px 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
  color: transparent;
}

.review-name {
  font-size: 26px;
  color: #c7b8a9;
  white-space: nowrap;
}

.review-footer img {
  content: url("./img/main/zub-rev.png");
  width: 36px;
  height: 48px;
  opacity: 0.8;
}

.faq-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 160px;
  color: #fff;
}

.faq-section-text {
  flex: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
}

.faq-kicker {
  color: #c7b8a9;
}

.faq-heading {
  margin-top: 8px;
  margin-bottom: 0;
  text-transform: capitalize;
}

.faq-section-questions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
  width: 100%;
}

.faq-item {
  background-color: #c7b8a9;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  transition: box-shadow 0.55s cubic-bezier(0.34, 1, 0.64, 1);
}

.faq-item.is-open {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: padding-bottom 0.5s cubic-bezier(0.34, 1, 0.64, 1);
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.35s ease;
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.faq-item.is-open .faq-toggle {
  transform: scale(1.06);
}

.faq-toggle::before {
  content: "+";
  display: block;
  transition: opacity 0.35s ease;
}

.faq-item.is-open .faq-toggle::before {
  content: "−";
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.52s cubic-bezier(0.34, 1, 0.64, 1);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 28px;
  padding-bottom: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.34, 1, 0.64, 1),
    padding-bottom 0.5s cubic-bezier(0.34, 1, 0.64, 1);
}

.faq-item.is-open .faq-panel-inner {
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 22px;
}

.faq-panel-inner p {
  margin: 0;
}

.faq-item.is-open .faq-trigger {
  padding-bottom: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-trigger,
  .faq-question,
  .faq-toggle,
  .faq-toggle::before,
  .faq-panel,
  .faq-panel-inner {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .faq-panel-inner {
    transform: none !important;
  }

  .faq-item.is-open .faq-toggle {
    transform: none !important;
  }
}

.faq-section img {
  max-width: 585px;
  max-height: 527px;
}

footer {
  display: flex;
  justify-content: space-between;
  margin-top: 240px;
  color: #fff;
  border-top: 1px solid #fff;
  padding-top: 30px;
  padding-left: 250px;
  padding-right: 250px;
  padding-bottom: 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 295px;
}

.ftr-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ftr-hdr a {
  display: inline-flex;
  line-height: 0;
}

.fb-icon,
.insta-icon {
  width: 40px;
  height: 40px;
}

.map-icon {
  width: 19px;
  height: 20px;
}

.phone-icon {
  width: 22px;
  height: 22px;
}

.lamp-icon {
  width: 18px;
  height: 23px;
}

.ftr-hdr p {
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  color: #c7b8a9;
}

/* Floating contact: video / “Записатись” alternate */
.contact-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 50000;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.35s ease;
}

.contact-float:hover {
  transform: scale(1.06);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(199, 184, 169, 0.45);
}

.contact-float:focus-visible {
  outline: 3px solid #c7b8a9;
  outline-offset: 4px;
}

.contact-float-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.contact-float-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-float-layer--video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-float-layer--text {
  background: linear-gradient(160deg, #d8ccc2 0%, #c7b8a9 55%, #b8a89a 100%);
  color: #121212;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  padding: 10px;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-float-layer--video {
    animation: contact-float-show-video 8s ease-in-out infinite;
  }

  .contact-float-layer--text {
    animation: contact-float-show-text 8s ease-in-out infinite;
  }
}

@keyframes contact-float-show-video {
  0%,
  40% {
    opacity: 1;
  }

  48%,
  90% {
    opacity: 0;
  }

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

@keyframes contact-float-show-text {
  0%,
  40% {
    opacity: 0;
  }

  48%,
  90% {
    opacity: 1;
  }

  98%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-float-layer--video {
    display: none;
  }

  .contact-float-layer--text {
    opacity: 1 !important;
    animation: none !important;
  }
}

.banner {
  display: flex;
  color: #fff;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 325px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.title-global-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  color: #fff;
}

.team-section-image {
  width: 100%;
  max-width: 1300px;
  height: 100%;
  max-height: 424px;
}

.main-content-team {
  padding-left: 210px;
  padding-right: 210px;
}

.team-section-content {
  margin-top: 120px;
}

.team-section-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 80px;
  color: #fff;
}

.team-section-row-list {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 100px;
  color: #fff;
  margin-bottom: 120px;
}

.team-section-content-item {
  display: flex;
  width: 100%;
  max-width: 692px;
  height: 100%;
  max-height: 452px;
  gap: 20px;
}

.team-section-content-item-image {
  width: 100%;
  max-width: 278px;
  height: 100%;
  max-height: 452px;
}

.corner-icon {
  width: 100%;
  max-width: 236px;
  height: 100%;
  max-height: 48px;
}

.corner-picture {
  display: block;
  width: 100%;
  max-width: 236px;
}

.team-section-content-item-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.team-section-content-item-text p {
  line-height: 1.3 !important;
}

/* Другий абзац про Руслана: приховано на типових ширинах ноутбука (вузька двоколонка) */
@media (min-width: 993px) and (max-width: 1640px) {
  .team-ruslan-ortho-blurb {
    display: none;
  }
}

.subtitle {
  font-size: 16px !important;
  font-weight: 400 !important;
  width: 100%;
  max-width: 856px;
  margin-top: -20px;
}

.services-section-item {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  width: 100%;
  color: #fff;
  padding: 30px 20px;
  border: 1px solid #c7b8a9;
  border-radius: 20px;
}

.services-section-item-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 710px;
  gap: 25px;
}

.services-section-item-image img {
  width: 100%;
  max-width: 420px;
  height: 100%;
  max-height: 200px;
}

.h1-price {
  font-size: 36px;
  font-weight: 600;
  color: #c7b8a9;
}

/* ——— Contacts page form ——— */
.contacts-form {
  margin-top: 48px;
  margin-bottom: 48px;
  width: 100%;
  max-width: 1100px;
  min-width: 0;
  box-sizing: border-box;
}

.contacts-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.contacts-map {
  width: 100%;
  height: 470px;

  max-width: 1100px;
  margin-top: 48px;
  border-radius: 20px;
}

.contacts-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: transparent;
  cursor: text;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.contacts-field:focus-within {
  border-color: rgba(199, 184, 169, 0.85);
  background-color: rgba(255, 255, 255, 0.03);
}

.contacts-field__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contacts-field__icon svg {
  display: block;
}

.contacts-field__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 14px 0;
  border: 0;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
  outline: none;
}

.contacts-field__input::placeholder {
  color: #fff;
}

.contacts-field--with-chevron .contacts-field__input {
  padding-right: 4px;
}

.contacts-field__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

.contacts-field--picker .contacts-field__icon {
  cursor: default;
}

.contacts-field--picker .contacts-field__input--picker {
  position: relative;
  color-scheme: dark;
  min-height: 22px;
  color: #fff;
  cursor: pointer;
}

.contacts-field--picker .contacts-field__input--picker::-webkit-datetime-edit,
.contacts-field--picker
  .contacts-field__input--picker::-webkit-datetime-edit-fields-wrapper,
.contacts-field--picker
  .contacts-field__input--picker::-webkit-datetime-edit-text,
.contacts-field--picker
  .contacts-field__input--picker::-webkit-datetime-edit-month-field,
.contacts-field--picker
  .contacts-field__input--picker::-webkit-datetime-edit-day-field,
.contacts-field--picker
  .contacts-field__input--picker::-webkit-datetime-edit-year-field,
.contacts-field--picker
  .contacts-field__input--picker::-webkit-datetime-edit-hour-field,
.contacts-field--picker
  .contacts-field__input--picker::-webkit-datetime-edit-minute-field,
.contacts-field--picker
  .contacts-field__input--picker::-webkit-datetime-edit-ampm-field {
  color: #fff;
}

/* Blink/WebKit: приховуємо системну іконку — лишається ваш шеврон + showPicker */
.contacts-field--picker
  .contacts-field__input--picker::-webkit-calendar-picker-indicator {
  display: none;
}

.contacts-field--picker .contacts-field__input--picker::-webkit-clear-button {
  display: none;
}

.contacts-form-submit {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin-top: 28px;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.contacts-form-submit:hover {
  border-color: rgba(199, 184, 169, 0.85);
  background-color: rgba(199, 184, 169, 0.12);
  color: #fff;
}

.contacts-form-submit:focus-visible {
  outline: 2px solid #c7b8a9;
  outline-offset: 4px;
}

.contacts-field--time-slot {
  cursor: default;
}

.contacts-field__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.contacts-field__select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contacts-field__select option {
  color: #1a1a1a;
  background: #fff;
}

.contacts-time-loading {
  width: 100%;
  max-width: 1100px;
  margin: 10px auto 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.contacts-form-result {
  display: none;
  width: 100%;
  max-width: 1100px;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contacts-form-result__error,
.contacts-form-result__ok {
  display: block;
  max-width: 100%;
}

.contacts-form-result.contacts-form-result--visible:not(.contacts-form-result--success):not(
    .contacts-form-result--error
  ) {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contacts-form-result--visible {
  display: block;
}

.contacts-form-result--success {
  color: #e8f5e9;
  background: rgba(76, 175, 80, 0.25);
  border: 1px solid rgba(129, 199, 132, 0.55);
}

.contacts-form-result--error {
  color: #ffebee;
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(239, 154, 154, 0.55);
}

.contacts-form-result--fade {
  animation: contactsFormResultFade 0.75s ease;
}

@keyframes contactsFormResultFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================================
   Адаптивність: лише max-width (великі екрани — базові правила без змін)
   Планшет / телефон: хедер як на макеті (DDC + гамбургер, виклез меню)
   ===================================================================== */

@media (max-width: 1600px) {
  .site-header,
  .main-content,
  footer,
  .our-team-section {
    padding-left: 160px;
    padding-right: 160px;
  }

  .beginning-blog {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 320px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    background-color: #c7b8a9;
    color: #fff;
    background-image: url("./img/main/tooth-3.png");
    background-repeat: no-repeat;
    background-position: 45% 40%;
    background-size: 40%;
    border-radius: 30px;
  }

  .video-section {
    height: min(86vh, 650px);
    margin-bottom: 100px;
  }

  .main-content-team {
    padding-left: 140px;
    padding-right: 140px;
  }
}

@media (max-width: 1400px) {
  .site-header,
  .main-content,
  footer,
  .our-team-section {
    padding-left: 100px;
    padding-right: 100px;
  }

  .main-content-team {
    padding-left: 80px;
    padding-right: 80px;
  }

  .links-header {
    gap: 32px;
  }

  .team-section-row-list {
    gap: 56px;
    margin-bottom: 56px;
  }

  .services-section-item {
    gap: 56px;
  }
}

/* 15" ноутбуки (≈1366–1536 CSS px): компактніший хедер; менший зазор фото — ПІБ — посада на головній */
@media (max-width: 1600px) and (min-width: 1201px) {
  .site-header-bar {
    margin-left: 36px;
  }

  .links-header {
    gap: 22px;
  }

  .tel-header {
    margin-left: 24px;
    gap: 12px;
  }

  .line-hdr {
    margin-left: 18px;
    margin-right: 18px;
  }

  .socials-hdr {
    gap: 12px;
  }

  .tel-header img {
    width: 20px;
    height: 19px;
  }

  .h1-medium-adv {
    font-size: 22px;
  }

  .our-team-section-images-item {
    gap: 6px;
  }

  .our-team-section-images-item img {
    height: auto;
  }

  .our-team-section-images-item .h1-medium-adv {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
  }

  .our-team-section-images-item .p-text {
    line-height: 1.25;
  }

  /* team.html: двоколонкові картки лікарів */
  .team-section-content-item {
    gap: 14px;
  }

  .team-section-content-item-text {
    gap: 12px;
  }
}

@media (max-width: 1200px) {
  .site-header,
  .main-content,
  footer,
  .our-team-section {
    padding-left: 48px;
    padding-right: 48px;
  }

  .main-content-team {
    padding-left: 40px;
    padding-right: 40px;
  }

  .links-header {
    gap: 20px;
  }

  .links-header a {
    font-size: 15px;
  }

  .tel-header {
    font-size: 15px;
  }

  .h1-big-xl {
    font-size: 52px;
    margin-top: 56px;
  }

  .h1-50 {
    font-size: 40px;
    line-height: 1.15;
  }

  .h1-big {
    font-size: 40px;
  }

  .video-section {
    height: min(70vh, 620px);
    margin-bottom: 100px;
  }

  .tech-section,
  .advantages-section,
  .advantages-section-2,
  .our-team-section,
  .reviews-section,
  .faq-section {
    margin-top: 100px;
  }

  .team-section-row-list {
    gap: 40px;
  }

  .services-section-item {
    gap: 36px;
  }

  .reviews-section-title-row {
    gap: 28px;
  }

  .reviews-section-title-row .h1-big {
    font-size: 36px;
  }

  footer {
    margin-top: 160px;
  }
}

@media (max-width: 992px) {
  body.nav-drawer-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 10002;
    padding: 16px 0;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    background-color: #000;
  }

  .header-nav-toggle {
    display: flex;
    z-index: 10003;
  }

  .header-logo-image {
    width: min(108px, 38vw);
    height: auto;
    max-height: 50px;
  }

  .site-header-bar {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-left: 0;
    flex: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 92px max(20px, env(safe-area-inset-right, 0px)) 40px
      max(20px, env(safe-area-inset-left, 0px));
    background: #000;
    z-index: 10000;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.32s ease,
      visibility 0s linear 0.32s;
  }

  .video-overlay-top p {
    color: #c7b8a9;
    font-size: 18px;
    font-weight: 00;
    line-height: 1.3;
  }

  .site-header.is-nav-open .site-header-bar {
    transform: translateX(0);
    visibility: visible;
    transition:
      transform 0.32s ease,
      visibility 0s linear 0s;
  }

  .services-section-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .site-header-bar .links-header {
    flex-direction: column;
    align-items: center;
    gap: 26px;
    width: 100%;
    margin-left: 0;
    padding: 20px 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .h1-medium-adv {
    font-size: 24px;
  }

  .site-header-bar .links-header a {
    font-size: 18px;
  }

  .site-header-bar .tel-header {
    justify-content: center;
    margin-left: 0;
    padding: 24px 0;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .site-header-bar .line-hdr {
    display: none;
  }

  .site-header-bar .socials-hdr {
    justify-content: center;
    padding-top: 24px;
    gap: 28px;
  }

  .site-header,
  .main-content,
  footer,
  .our-team-section {
    padding-left: max(env(safe-area-inset-left, 0px), clamp(20px, 6vw, 52px));
    padding-right: max(env(safe-area-inset-right, 0px), clamp(20px, 6vw, 52px));
  }

  .main-content-team {
    padding-left: max(env(safe-area-inset-left, 0px), clamp(20px, 6vw, 52px));
    padding-right: max(env(safe-area-inset-right, 0px), clamp(20px, 6vw, 52px));
  }

  .beginning-blog {
    flex-direction: column;
    align-items: stretch;
    background-size: min(92%, 480px);
    background-position: center 6%;
  }

  .beginning-blog-left,
  .beginning-blog-right {
    max-width: none;
    min-width: 0;
    padding: 36px clamp(20px, 5vw, 32px);
  }

  .beginning-blog .h1-big {
    font-size: clamp(28px, 6vw, 40px);
    word-break: break-word;
  }

  .beginning-blog-line {
    width: 100%;
    height: 10px;
    align-self: stretch;
  }

  .tech-section {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .tech-section img {
    max-width: min(585px, 100%);
    height: auto;
  }

  .advantages-section-title {
    width: 100%;
    max-width: 640px;
  }

  .advantages-section-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .services-section-text {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .services-section-left,
  .services-section-right {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .btn-consultation-2,
  .btn-consultation-3 {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
  }

  .btn-consultation-2 p,
  .btn-consultation-3 p {
    min-width: 0;
    text-align: center;
  }

  .btn-block {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  .btn-block .btn-consultation-2,
  .btn-block .btn-consultation-3 {
    width: 100%;
    max-width: 100%;
  }

  .services-section-images {
    flex-wrap: wrap;
    justify-content: center;
  }

  .our-team-section {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .our-team-section-text {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .our-team-section-images {
    flex-wrap: wrap;
    justify-content: center;
  }

  .reviews-section-title-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .reviews-section-title-row img:first-child,
  .reviews-section-title-row img:last-child {
    transform: none;
  }

  .reviews-section-title-row .h1-big {
    font-size: clamp(28px, 5vw, 40px);
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .review-card {
    width: min(560px, calc(100vw - 40px));
    min-width: min(560px, calc(100vw - 40px));
    max-width: min(560px, calc(100vw - 40px));
    padding: 16px 28px;
    box-sizing: border-box;
  }

  .faq-section {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .faq-section-text {
    max-width: 100%;
  }

  .faq-section img {
    max-width: min(585px, 100%);
    height: auto;
  }

  .about-section-image {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .services-section-item {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 28px clamp(18px, 5vw, 28px);
    box-sizing: border-box;
  }

  .corner-picture {
    width: min(360px, 92%);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .corner-icon {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 72px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center;
  }

  .team-section-row-list {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .team-section-content-item {
    flex-direction: column;
    align-items: center;
    max-height: none;
    text-align: center;
  }

  .team-section-content-item-text .h1-medium-adv br {
    display: none;
  }

  .team-section-content-item-image {
    max-width: min(278px, 88vw);
  }

  .banner {
    height: min(280px, 42vw);
    min-height: 200px;
    padding-left: max(env(safe-area-inset-left, 0px), clamp(20px, 6vw, 52px));
    padding-right: max(env(safe-area-inset-right, 0px), clamp(20px, 6vw, 52px));
    box-sizing: border-box;
  }

  .title-global-section {
    margin-top: 56px;
  }

  .contacts-map {
    height: min(470px, 55vh);
  }

  footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 32px;
    text-align: center;
  }

  .footer-content {
    max-width: 100%;
    align-items: center;
  }

  .ftr-hdr {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header-bar {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 600px) {
  .site-header,
  .main-content,
  footer,
  .our-team-section,
  .main-content-team {
    padding-left: max(env(safe-area-inset-left, 0px), clamp(22px, 6.5vw, 44px));
    padding-right: max(
      env(safe-area-inset-right, 0px),
      clamp(22px, 6.5vw, 44px)
    );
  }

  .banner {
    padding-left: max(env(safe-area-inset-left, 0px), clamp(22px, 6.5vw, 44px));
    padding-right: max(
      env(safe-area-inset-right, 0px),
      clamp(22px, 6.5vw, 44px)
    );
  }

  .services-section-item {
    padding: 24px clamp(16px, 5vw, 24px);
  }

  .team-section-content-item {
    align-items: stretch;
    text-align: left;
  }

  .team-section-content-item-image {
    align-self: center;
  }

  .team-section-content-item-text {
    width: 100%;
    min-width: 0;
  }

  .team-section-content-item-text .h1-medium-adv {
    text-align: center;
  }

  .corner-picture {
    width: 100%;
    max-width: 100%;
  }

  .corner-icon {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin-left: 0;
    margin-right: 0;
    object-fit: contain;
    object-position: center;
  }

  .p-text {
    font-size: 14px !important;
  }

  .links-header a {
    font-size: 14px;
  }

  .tel-header {
    font-size: 14px;
  }

  .tel-header a {
    word-break: break-all;
  }

  .h1-big-xl {
    font-size: clamp(32px, 9vw, 48px);
    margin-top: 40px;
    text-align: center;
    padding: 0 8px;
  }

  .h1-50 {
    font-size: clamp(24px, 6vw, 36px);
    padding: 0 12px;
  }

  .h1-big {
    font-size: 24px;
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .video-overlay-top {
    top: 48px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .video-overlay-text {
    bottom: 48px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .video-section {
    height: min(58vh, 480px);
    margin-bottom: 72px;
  }

  .btn-consultation p,
  .btn-consultation-4 p {
    font-size: clamp(14px, 3.8vw, 22px);
  }

  .btn-consultation,
  .btn-consultation-4 {
    padding: 10px 14px;
  }

  .btn-consultation-2 p,
  .btn-consultation-3 p {
    font-size: clamp(14px, 3.8vw, 22px);
  }

  .advantages-section,
  .advantages-section-2 {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .advantages-section-card {
    max-width: min(290px, 92vw);
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .review-name {
    font-size: 20px;
    white-space: normal;
  }

  .review-text {
    font-size: 16px;
  }

  .faq-trigger {
    padding: 18px 16px;
    gap: 12px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-panel-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-float {
    width: 84px;
    height: 84px;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }

  .contact-float-layer--text {
    font-size: 12px;
    padding: 8px;
  }

  .team-section-image {
    max-height: none;
  }

  .team-section-content {
    margin-top: 64px;
  }

  .beginning-blog-left,
  .beginning-blog-right {
    max-width: none;
    min-width: 0;
    padding: 28px clamp(16px, 4.5vw, 22px);
  }

  .beginning-blog .p-text {
    line-height: 1.45;
  }

  .team-section-title {
    margin-bottom: 48px;
  }

  .h1-price {
    font-size: clamp(26px, 6vw, 36px);
  }

  .contacts-form {
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .contacts-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 380px) {
  .links-header {
    gap: 10px 12px;
  }

  .links-header a {
    font-size: 13px;
  }

  .socials-hdr img {
    width: 34px;
    height: 34px;
  }
}

.about-section-images {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 40px;
}

.about-section {
  display: flex;
  flex-direction: column;
  color: #fff;
  gap: 30px;
}

.p-text-header {
  font-size: 20px;
  font-weight: 600;
}
