@font-face {
  font-family: 'Alice in Wonderland';
  src: url('fonts/fonnts.com-Alice_in_Wonderland.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Comic Neue';
  src: url('fonts/ComicNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

body {
  overflow-y: hidden;
  background: #fffaf0;
}
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

::-webkit-scrollbar {
width: 12px;  
height: 12px;             
}

::-webkit-scrollbar-track {
background: white;     
}

::-webkit-scrollbar-thumb {
background-color: #FFA000;  
border-radius: 20px;     
border: 3px solid white;
}
small{
  font-size: 22px;
}
    header {
      position: relative;
      background: linear-gradient(to bottom, #ccc8bd, #f8f8f8);
      padding: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 40px;
      z-index: 1;
    }

    .header-block {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      color: #222;
    }

    .header-block i {
      color: #FFA000;
      font-size: 18px;
    }

    .header-block b {
      font-weight: 700;
    }

    .socials {
      display: flex;
      gap: 15px;
      font-size: 18px;
    }

    .socials a {
      color: #FFA000;
      text-decoration: none;
    }

    /* Телефони */
    .phones {
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 15px;
    }

    .phones i {
      margin-right: 5px;
      color: #FFA000;
    }
    .phones a {
      font-size: 15px;
      text-decoration: none;
      color: #222;

    }

    /* Canvas */
    .bg-canvas {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }
    .header-block,
    .socials,
    .phones {
      background: rgba(255, 248, 220, 0.2); 
      backdrop-filter: blur(6px);        
      -webkit-backdrop-filter: blur(6px);  
      padding: 5px 10px;
      border-radius: 12px;
      z-index: 2;
    }


/* ===== MINI HEADER ===== */

.mini-header {
  position: relative;
  background-color: #FFA000;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 100;
}
.mini-header .logo img {
  width: 60px;
  height: 50px;
  display: block;
  margin: auto;
}

.mini-header .logo span {
  display: block;
  margin: auto;
  font-size: 15px;
  text-transform: uppercase;
}

.mini-header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mini-header .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  color: #000000;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 20px;
}
.nav-links a:hover {
  text-decoration: underline;
}

.contact-button {
  background: #fff;
  color: #FFA000;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.contact-button:hover {
  background: #ffd3a6;
}

/* ===== BURGER ===== */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 102;
}
.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #000000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Active burger (хрестик) */
.burger.active span:first-child {
  transform: rotate(45deg) translate(2px, 2px);
}
.burger.active span:last-child {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #FFA000;
  box-shadow: -3px 0 12px rgba(0, 0, 0, 0.2);
  transition: right 0.35s ease;
  padding: 80px 30px 30px;
  z-index: 101;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
}

.mobile-menu li {
  margin-bottom: 20px;
}

.mobile-menu a {
  color: #000000;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}




.btn-dental {
  padding: 5px 15px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  background-color: #fff;
  border: 2px solid #111;
  border-radius: 28px;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  user-select: none;
  box-shadow: none;
  text-decoration: none;
}

.btn-dental:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
  color: #000;
  background-color: #fefefe;
}

.btn-dental:active {
  transform: scale(0.97);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}





.tooth-section {
  position: relative;
  background: #fefce8;
  overflow: hidden;
  text-align: center;

}

.tooth-container {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  height: 400px;
}

.tooth-image {
  left: 0px;
  width: 100%;
  max-width: 100%;
  animation: floatY 6s ease-in-out infinite;
  position: absolute;
}

.tooth-title {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: #ff9900;
  font-family: 'Comic Sans MS', sans-serif;
  text-shadow: 2px 2px #000;
  z-index: 999;
  width: 100%;
}
.tooth-title span{
  font-family: 'Alice in Wonderland', sans-serif;
}







.command-section, .my-section {
  padding: 4rem 1rem;
  background: #fffaf0;
  text-align: center;
  padding: 0px;
  padding-top: 50px;
}

.command-title, .my-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ff9900;
  font-family: 'Comic Sans MS', sans-serif;
  text-shadow: 1px 1px #000;
}

.container{
  max-width: 1200px;
  display: block;
  margin: auto;
}
.swiper {
  padding-bottom: 3rem;
}

.service-card {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.card-inner {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  padding: 2rem 1rem;
  width: 500px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
}

.card-inner:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.card-inner img {
  width: 280px;
  height: 350px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  border: 4px dashed #ffb347;
  border-radius: 12px;
}

.card-inner:hover img {
  transform: scale(1.1);
}

.card-inner h3 {
  font-size: 1.25rem;
  color: #ff9900;
  margin-bottom: 0.5rem;
}

.card-inner p {
  font-size: 1rem;
  color: #444;
}
.swiper-button-next,
.swiper-button-prev {
  color: #ff9900;
}

.command-section, .my-section{
  position: relative;
}

.animated-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.animated-bg img {
  position: absolute;
  opacity: 0.12;
  will-change: transform;
}

.animated-bg img:nth-child(1) {
  top: 10%;
  left: 8%;
  width: 50px;
  animation: float1 25s infinite ease-in-out;
}

.animated-bg img:nth-child(2) {
  top: 25%;
  left: 70%;
  width: 65px;
  animation: float2 28s infinite ease-in-out;
}

.animated-bg img:nth-child(3) {
  top: 55%;
  left: 12%;
  width: 60px;
  animation: float3 30s infinite ease-in-out;
}

.animated-bg img:nth-child(4) {
  top: 65%;
  left: 78%;
  width: 45px;
  animation: float4 22s infinite ease-in-out;
}

.animated-bg img:nth-child(5) {
  top: 35%;
  left: 45%;
  width: 70px;
  animation: float5 26s infinite ease-in-out;
}

.animated-bg img:nth-child(6) {
  top: 5%;
  left: 60%;
  width: 60px;
  animation: float6 32s infinite ease-in-out;
}

.animated-bg img:nth-child(7) {
  top: 75%;
  left: 30%;
  width: 50px;
  animation: float7 24s infinite ease-in-out;
}

/* === Анімації === */
@keyframes float1 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px) rotate(3deg); }
  100% { transform: translate(0, 0); }
}

@keyframes float2 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-25px, 15px) rotate(-2deg); }
  100% { transform: translate(0, 0); }
}

@keyframes float3 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(20px, -10px) rotate(5deg); }
  100% { transform: translate(0, 0); }
}

@keyframes float4 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 20px) rotate(4deg); }
  100% { transform: translate(0, 0); }
}

@keyframes float5 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px) rotate(6deg); }
  100% { transform: translate(0, 0); }
}

@keyframes float6 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 10px) rotate(-4deg); }
  100% { transform: translate(0, 0); }
}

@keyframes float7 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(10px, 25px) rotate(3deg); }
  100% { transform: translate(0, 0); }
}

.promo-banner {
  background: linear-gradient(180deg, #3d2607, #ffac10 40%, #f8e4c3);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.promo-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  padding: 20px 40px;
  box-shadow: 0 0 20px #000;
  background: radial-gradient(circle, #fff 60%, #aaa);
}

.promo-text h2 {
  color: #ff9900;
  text-shadow: 2px 2px 0 #000;
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  max-width: 500px;
}

.promo-button {
  background: radial-gradient(circle, #fff 60%, #aaa);
  padding: 12px 24px;
  border: 2px solid #000;
  box-shadow: 0 0 10px #000;
  font-weight: 700;
  color: #ff9900;
  text-shadow: 1px 1px #000;
  font-size: 16px;
  cursor: pointer;

}


.discount-inline {
  background: #fff7eb;
  padding: 60px 15px;
  display: flex;
  justify-content: center;
  font-family: 'Comic Sans MS', sans-serif;
}

.discount-inline__container {
  background: #ffffff;
  border: 3px dashed #ffb347;
  border-radius: 25px;
  padding: 25px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 960px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(255, 186, 120, 0.3);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  flex-wrap: wrap;
}

.discount-inline__text {
  font-size: 20px;
  color: #5a4e63;
  margin: 0;
  flex: 1;
}

.discount-inline__text strong {
  color: #ff9900;
  font-weight: 700;
}

.discount-inline__btn {
  background: white;
  color: black;
  border: 2px solid #f57f17;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 178, 102, 0.4);
  font-family: 'Comic Sans MS', sans-serif;
  opacity: 0;
}

.discount-inline__btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: #ff9a00;
}

.discount-inline--visible .discount-inline__container {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

.discount-inline--visible .discount-inline__btn {
  opacity: 1;
  animation: fadeUp 0.6s ease;
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}





.hero-highlight {
  width: 100%;
  background: url('/img/background1.webp') center center / cover no-repeat;
  position: relative;
  color: #fff;
  margin-top: 50px;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.8); 
  padding: 80px 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 100px;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 100%;
  border: 4px dashed #ffb347;
}

.hero-content {
  flex: 1;
  min-width: 280px;
}

.hero-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}

.hero-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.5;
  text-align: left;
}

.hero-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffd700;
  font-weight: bold;
  font-size: 20px;
}



.photo-block {
  width: 100%;
  height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-overlay {
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.photo-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
}

.photo-left .photo-content {
  justify-content: flex-start;
  text-align: left;
}

.photo-right .photo-content {
  justify-content: flex-end;
  text-align: right;
}

.photo-text {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.photo-btn {
  padding: 20px 40px;
  border-radius: 30px;
  font-size: 34px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, opacity 0.4s ease;

}

.photo-btn:hover {
  transform: scale(1.05);
}

.photo-btn.red {
  background-color: #ff4d4d;
  color: #fff;

}

.photo-btn.yellow {
  background-color: #ffa000;
  color: #000;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.card {
  background: #fff8dc;
  border: 3px solid #000;
  border-radius: 20px;
  box-shadow: 4px 4px 0 #000;
  padding: 30px 20px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #222;
  margin: 10px;
  flex: 1 0 calc(25% - 20px);
  max-width: calc(25% - 20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: popIn 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 6px 6px 0 #000;
  background-color: #fff0b3;
  cursor: pointer;
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.services-section {
  background: #fffaf5;
  padding-bottom: 20px;
  text-align: center;
  font-family: 'Comic Sans MS', sans-serif;
}

.section-title {
  font-size: 2.8rem;
  color: #000000;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.service-cards {
  background: #fff;
  border-radius: 25px;
  padding: 25px 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px dashed #ffa000;
  text-decoration: none;
}

.service-cards:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  background: #fff8ec;
}

.service-cards img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  background: linear-gradient(135deg, #ffe7c0, #cde9f8);
  border-radius: 50%;
  padding: 20px;
  margin: 0 auto 20px;
  display: block;
  transition: transform 0.3s ease;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.6);
}

.service-cards:hover img {
  transform: rotate(-5deg) scale(1.05);
}

.service-cards h3 {
  font-size: 1.2rem;
  color: #000000;
  margin: 0;
  line-height: 1.4;
}

.block-partners{
  background: linear-gradient(135deg, #ffe7c0, #eef5f9);
}



.my-partners-slider {
    padding: 10px;
    font-family: 'Comic Sans MS', sans-serif;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 40px;
}

.my-partners-slider__title {
  font-size: 2.5rem;
  color: #4e342e;
  margin-bottom: 40px;
  text-shadow: 2px 2px #fff9c4;
}

.my-partners-slider__container {
  margin: 0 auto;
}

.swiper {
  overflow: hidden;
  padding-bottom: 40px;
  position: relative;
  border-radius: 20px;
}

.swiper-slide.partner-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.swiper-slide.partner-slide:hover {
  transform: scale(1.05);
}

.swiper-slide.partner-slide img {
  max-width: 70%;
  max-height: 400px;
  object-fit: contain;
  padding: 20px;
}

/* Кастомні кнопки */
.my-swiper-button-prev,
.my-swiper-button-next {
  position: absolute;
  top: 45%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  z-index: 10;
  background-color: #ffa000;
  border: 3px solid #fbc02d;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.my-swiper-button-prev:hover,
.my-swiper-button-next:hover {
  background-color: black;
}

.my-swiper-button-prev::after,
.my-swiper-button-next::after {
  font-size: 24px;
  color: #5d4037;
}

.my-swiper-button-prev {
  left: 0px;
}

.my-swiper-button-next {
  right: 0px;
}

.my-swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
}

.my-swiper-pagination .swiper-pagination-bullet {
  background: #fdd835;
  opacity: 1;
  margin: 0 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fbc02d;
  transition: transform 0.3s ease;
}

.my-swiper-pagination .swiper-pagination-bullet-active {
  background: #ffa000;
  transform: scale(1.4);
}

.why-darsbery {
  background: linear-gradient(to right, #f9ecd3, #f1f2ee);
  padding: 60px 20px;
  font-family: 'Comic Sans MS', sans-serif;
  text-align: center;
  border-radius: 30px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  border: 4px dashed #ffb347;
}

.why-darsbery__container {
  z-index: 2;
  position: relative;
}

.why-darsbery__title {
  font-size: 2.2rem;
  color: #5d4037;
  margin-bottom: 20px;
  text-shadow: 2px 2px #fffde7;
}

.why-darsbery__title span {
  color: #ffa000;
}

.why-darsbery__text {
  font-size: 1.4rem;
  color: #6d4c41;
}

.why-darsbery__text .coffee {
  font-size: 1.6rem;
  display: inline-block;
  transform: rotate(-5deg);
}


.why-darsbery::before,
.why-darsbery::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.2;
}

.why-darsbery::before {
  top: -20px;
  left: -20px;
}

.why-darsbery::after {
  bottom: -20px;
  right: -20px;
}
.white-block{
  background: #fffaf0;
  padding: 15px;
}



.contacts-section {
  padding: 0px;

  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.contacts-section::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: #ffd3b6;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 6s ease-in-out infinite;
}

.contacts-section h2 {
  text-align: center;
  animation: bounceIn 1s ease;
}

.contacts-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.map-wrapper, .info-wrapper {
  flex: 1 1 450px;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  overflow: hidden;
  animation: fadeInUp 1.2s ease;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 360px;
}

.info-wrapper {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  background: #fff8ee;
  z-index: 0;
}


.info-item {
  background: #f9ecd4;
  border: 3px dashed #ffa000;
  border-radius: 20px;
  padding: 18px 24px;
  font-size: 20px;
  color: #444;
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 128, 171, 0.3);
}
.info-item a{
  font-size: 20px;
  color: #444;
  text-decoration: none;
}

.info-item:hover {
  transform: scale(1.05);
}



@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(20px); }
}

@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.footer {
  background: #ffa000;
  padding: 20px;
  text-align: center;
  font-family: 'Comic Sans MS', sans-serif;
  font-size: 16px;
  color: white;
  box-shadow: 0 -4px 10px rgba(255, 128, 171, 0.2);
  border-radius: 40px 40px 0 0;
}

.footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}

.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(5px);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease;
}
.modal-overlay.active {
opacity: 1;
visibility: visible;
}
.modal-window {
background: #fff8f0;
padding: 30px 40px;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
max-width: 400px;
width: 90%;
position: relative;
animation: slideIn 0.4s ease;
text-align: center;
}
.modal-window h2 {
margin-top: 0;
color: #ffa000;
font-size: 26px;
}

.modal-window p {
font-size: 18px;
color: #444;
margin: 15px 0;
}

.modal-window a {
display: inline-block;
margin-top: 10px;
font-size: 20px;
color: #ffa000;
text-decoration: none;
font-weight: bold;
}

.modal-window a:hover {
text-decoration: underline;
}

.modal-close {
position: absolute;
top: 10px;
right: 15px;
font-size: 22px;
color: #888;
cursor: pointer;
transition: 0.3s ease;
}

.modal-close:hover {
color: #ffa000;
}

@keyframes slideIn {
from {
transform: translateY(-30px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}







.consultation-section {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      padding-bottom: 80px;
      justify-content: center;
    }

    .left-slider, .right-form {
      flex: 1 1 400px;
      max-width: 500px;
    }

    .left-slider {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      background: #fffef2;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      padding: 30px;
      min-height: 260px;
      position: relative;
      gap: 20px;
    }

    .quote-text {
      flex: 1 1 300px;
      font-size: 20px;
      font-style: italic;
      color: #444;
      transition: opacity 0.5s ease;
      text-align: left;
    }

    .quote-image {
      flex: 0 0 120px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .quote-image img {
      width: 220px;
      height: 220px;
      border-radius: 14px;
      object-fit: cover;
      border: 3px dashed #ffa726;
      background: #fff;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.5s ease;
    }

    .right-form {
      background: #fff8f0;
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 10px 30px rgba(255, 128, 171, 0.2);
      border: 4px dashed #ffb347;
    }

    .right-form h2 {
      color: #ffa000;
      margin-top: 0;
      font-size: 26px;
    }

    .right-form p {
      color: #444;
      margin-bottom: 20px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group input {
      width: 100%;
      padding: 12px 15px;
      font-size: 16px;
      border: 2px solid #f8d69d;
      border-radius: 12px;
      outline: none;
      transition: border-color 0.3s;
      box-sizing: border-box;
    }

    .form-group input:focus {
      border-color: #ffa000;
    }

    .error {
      color: red;
      font-size: 14px;
      display: none;
    }

    .submit-btn {
      background: #ffa000;
      color: white;
      font-size: 18px;
      padding: 12px 20px;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .submit-btn:hover {
      background: black;
    }

    .result {
      margin-top: 20px;
      background: #e0f7fa;
      padding: 15px;
      border-radius: 12px;
      display: none;
      font-size: 14px;
      word-break: break-word;
    }
  .price-section {
    background: #fff8f0;
    padding: 20px;
    
  }

  .price-title {
    text-align: center;
    color: black;
    font-size: 35px;
    margin-bottom: 10px;
  }

  .clinic-name {
    font-weight: bold;
    font-size: 24px;
    display: block;
    margin-top: 5px;
    color: #ffa000;
    font-family: 'Comic Sans MS', sans-serif;
  }

  .price-note {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    font-family: 'Comic Sans MS', sans-serif;

  }
  .price-title small{
    font-family: 'Comic Sans MS', sans-serif;
  }
  .price-category {
    margin-bottom: 50px;
  }

  .price-category h3 {
    font-size: 22px;
    color: #444;
    margin-bottom: 20px;
  }

  .price-category table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }

  .price-category table td {
    padding: 14px 20px;
    border-bottom: 1px dashed #eee;
    font-size: 16px;
  }

  .price-category table tr:last-child td {
    border-bottom: none;
  }

  .price-category table td:last-child {
    text-align: right;
    font-weight: bold;
    color: #ffa000;
  }


.cursor-glow {
  position: fixed;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.6) 0%, rgba(0, 153, 255, 0.1) 70%);
  transform: translate(-50%, -50%);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.2;
  }
}
.form-preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  display: none;
}

.form-preloader::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 4px solid #ffa000;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
  .p-services-block {
  background: linear-gradient(to right, #fff9e6, #f9ecd4);
  padding: 20px 20px;
  font-family: 'Comic Sans MS', sans-serif;
}

.p-services-title {
  font-size: 42px;
  color: #ffa000;
  margin-bottom: 30px;
  text-align: center;
}

.p-services-table {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.p-services-table .table-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
  font-size: 18px;
}

.p-services-table .table-row:last-child {
  border-bottom: none;
}

.p-services-consult {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  gap: 10px;
  background: #f9ecd4;
  padding: 20px;
  border-radius: 16px;
  font-size: 18px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  border: 6px dashed #ffb347;
}

.p-services-consult strong {
  color: #d32f2f;
}


.p-services-video {
  margin-top: 60px;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.p-services-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #888;
}
.photo-img {
  width: 300px;
  margin: auto;
  display: block;
  border-radius: 100%;
  border: 3px dashed #ffb347;
}
.b1{
  height: 440px;
}
.chat-button {
position: fixed;
bottom: 60px;
right: 20px;
width: 70px;
height: 70px;
background: #ffca28;
border: 4px solid #ffb300;
border-radius: 50%;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
cursor: pointer;
font-size: 30px;
display: flex;
align-items: center;
justify-content: center;
z-index: 999999999;
transition: transform 0.2s;
}

.chat-button:hover {
transform: scale(1.1);
}

.chat-window {
position: fixed;
bottom: 150px;
right: 20px;
width: 300px;
background: #fff3e0;
border: 3px solid #ffb74d;
border-radius: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
padding: 15px;
display: none;
flex-direction: column;
gap: 10px;
max-height: 700px;
overflow-y: auto;
z-index: 999999999;
}

.chat-question-block {
background: #fff8e1;
border: 2px dashed #ffa726;
border-radius: 12px;
padding: 10px;
cursor: pointer;
transition: background 0.2s;
}

.chat-question-block:hover {
background: #fffde7;
}

.chat-question-text {
font-weight: bold;
margin-bottom: 5px;
}

.chat-answer-text {
margin-top: 5px;
font-style: italic;
color: #5d4037;
background: #fffde7;
border-left: 3px solid #ff9800;
padding: 5px 10px;
border-radius: 8px;
border-right: 2px solid orange;
width: 100%;
box-sizing: border-box;
white-space: normal;
overflow: hidden;
min-height: 30px;
max-height: 200px; 
overflow-y: auto; 
line-height: 1.4;
}
.custom-question-form {
display: flex;
gap: 10px;
margin-top: 15px;
}

.custom-question-input {
flex: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
background: #fef2dd;
}

.custom-question-btn {
padding: 8px 12px;
border: none;
background-color: #ffca28;
color: #000000;
border-radius: 4px;
cursor: pointer;
}
.custom-question-btn:hover {
background-color: #FFA000;
}
.lang-toggle {
  width: 80px;
  height: 30px;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.lang-bg {
    width: 100%;
    height: 100%;
    background: #ffe066;
    border: 2px solid #000000;
    border-radius: 50px;
    box-shadow: inset -4px -4px 0 #ffe066, inset 4px 4px 0 #ffe066;
    position: relative;
    overflow: hidden;
}

.lang-slide {
  width: 50%;
  height: 100%;
  background: white;
  border-radius: 50px;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 5px 0 #aaa;
  transition: left 0.3s ease;
  z-index: 1;
}

.lang-label {
  width: 50%;
  height: 100%;
  text-align: center;
  line-height: 30px;
  font-size: 15px;
  position: absolute;
  font-weight: 500;
  top: 0;
  z-index: 2;
}

.lang-label.left {
  left: 0;
}

.lang-label.right {
  right: 0;
}
.block-white {
  background: rgb(255 255 255 / 50%);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
}
.p-services-description p {
  text-align: justify;
  line-height: 35px;
  text-indent: 40px;
}
.p-services-description p strong, .block-white p strong {
  color: #FFA000;
}
.p-services-description p.uppercase{
  text-transform: uppercase;
  font-weight: bold;
}
.p-services-description h2 {
    text-indent: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.p-services-description h2.underline {
  text-decoration: underline;
}
.p-services-description ul, .p-services-description ol {
    line-height: 35px;
    margin-left: 30px;
}


.faq-block .faq-item {
  margin-bottom: 15px;
  background: #f9f9f9;
  padding: 12px 16px;
  border-left: 4px solid #ffe066;
  border-radius: 8px;
}

.review-block blockquote {
  font-style: italic;
  background: #f0f4f8;
  border-left: 4px solid #ffe066;
  margin: 20px 0;
  padding: 16px;
  border-radius: 8px;
  position: relative;
}

.review-block .author {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #444;
}

.appointment-block a {
  color: #ffa000;
  font-weight: bold;
  text-decoration: none;
}

.appointment-block a:hover {
  text-decoration: underline;
}

.flex-block{
  display:flex; 
  align-items: center; 
  gap: 10px;
}
.photo-btn.yellow.mini{
  padding: 10px;
  font-size: 15px;
}
.flex-block strong, .flex-block p{
  text-indent: 0px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Модальне вікно */
.modal-content {
  background: #fff;
  margin: auto;
  padding: 30px 40px;
  border-radius: 15px;
  max-width: 700px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  position: relative;
  transform: translateY(-50px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Анімація появи */
.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Заголовок H1 */
.modal-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: center;
  letter-spacing: 0.03em;
}

/* Заголовки H2 */
.modal-content h2 {
  font-size: 22px;
  color: #FFA000;
  margin-top: 25px;
  margin-bottom: 10px;
  border-bottom: 2px solid #FFA000;
  padding-bottom: 5px;
}

/* Параграфи */
.modal-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

/* Списки */
.modal-content ul {
  list-style: inside disc;
  padding-left: 0;
  margin: 0 0 15px 0;
  color: #555;
}

.modal-content ul li {
  margin-bottom: 8px;
  font-size: 15px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.modal-close:hover {
  color: #e74c3c;
}

/* Скроллбар для модалки (красивий) */
.modal::-webkit-scrollbar {
  width: 8px;
}

.modal::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
  border-radius: 8px;
}

.modal::-webkit-scrollbar-thumb {
  background-color: rgba(41, 128, 185, 0.6);
  border-radius: 8px;
}

body.modal-open {
  overflow: hidden;
}
html.modal-open {
  overflow: hidden;
  height: 100%;
}
.modal-content a {
    color: #FFA000;
}


.color {
  animation: colorchange 50s; 
  -webkit-animation: colorchange 50s; 
}
.drip-wrapper {
  filter: url("#goo");
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.drip-wrapper .drip-top,
.drip-wrapper .drip-bottom {
  position: absolute;
  width: 100%;
  height: 50px;
  background: #ffca28;
}
.drip-wrapper .drip-top {
  border-radius: 30%;
  top: -30px;
}
.drip-wrapper .drip-bottom {
  border-radius: 10%;
  bottom: -30px;
  display: none;
}
.drip-wrapper .drip {
  position: absolute;
  border-radius: 50%;
  background: #ffca28;
  animation: drip-1 cubic-bezier(0.66, 0.1, 0.97, 0.36) 6s infinite;
  transform: scale(2);
}

@keyframes drip-1 {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(150px) scale(0.5); opacity: 0; }
}
@keyframes drip-2 { from { transform: translateY(0); } to { transform: translateY(180px); } }
@keyframes drip-3 { from { transform: translateY(0); } to { transform: translateY(200px); } }
@keyframes drip-4 { from { transform: translateY(0); } to { transform: translateY(160px); } }
@keyframes drip-5 { from { transform: translateY(0); } to { transform: translateY(190px); } }


@keyframes colorchange {
  0% {
    background: #e8630a;
  }
  10% {
    background: #EA3281;
  }
  20% {
    background: #E71669;
  }
  30% {
    background: #661BAC;
  }
  40% {
    background: #FDC600;
  }
  50% {
    background: #75AC25;
  }
  60% {
    background: #3283B5;
  }
  70% {
    background: #0A5D9A;
  }
  80% {
    background: #232F37;
  }
  90% {
    background: #1B2735;
  }
  100% {
    background: #090a0f;
  }
}
@-webkit-keyframes colorchange /* Safari and Chrome - necessary duplicate */ {
  0% {
    background: #e8630a;
  }
  10% {
    background: #EA3281;
  }
  20% {
    background: #E71669;
  }
  30% {
    background: #661BAC;
  }
  40% {
    background: #FDC600;
  }
  50% {
    background: #75AC25;
  }
  60% {
    background: #3283B5;
  }
  70% {
    background: #0A5D9A;
  }
  80% {
    background: #232F37;
  }
  90% {
    background: #1B2735;
  }
  100% {
    background: #090a0f;
  }
}









.ripple {
    position: relative;
    text-decoration: none;
    color: #fff;
    background-color: #747474;
    margin: 0 auto;
    border-radius: 50%;
    -webkit-animation: ripple 1s linear infinite;
    animation: ripple 1s linear infinite;
}

@-webkit-keyframes ripple {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(116, 116, 116, 0.3), 0 0 0 10px rgba(116, 116, 116, 0.3), 0 0 0 30px rgba(116, 116, 116, 0.3), 0 0 0 60px rgba(116, 116, 116, 0.3);
            box-shadow: 0 0 0 0 rgba(116, 116, 116, 0.3), 0 0 0 10px rgba(116, 116, 116, 0.3), 0 0 0 30px rgba(116, 116, 116, 0.3), 0 0 0 60px rgba(116, 116, 116, 0.3);
  }
  100% {
    -webkit-box-shadow: 0 0 0 10px rgba(116, 116, 116, 0.3), 0 0 0 30px rgba(116, 116, 116, 0.3), 0 0 0 60px rgba(116, 116, 116, 0.3), 0 0 0 90px rgba(116, 116, 116, 0);
            box-shadow: 0 0 0 10px rgba(116, 116, 116, 0.3), 0 0 0 30px rgba(116, 116, 116, 0.3), 0 0 0 60px rgba(116, 116, 116, 0.3), 0 0 0 90px rgba(116, 116, 116, 0);
  }
}
@keyframes ripple {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(116, 116, 116, 0.3), 0 0 0 10px rgba(116, 116, 116, 0.3), 0 0 0 30px rgba(116, 116, 116, 0.3), 0 0 0 60px rgba(116, 116, 116, 0.3);
            box-shadow: 0 0 0 0 rgba(116, 116, 116, 0.3), 0 0 0 10px rgba(116, 116, 116, 0.3), 0 0 0 30px rgba(116, 116, 116, 0.3), 0 0 0 60px rgba(116, 116, 116, 0.3);
  }
  100% {
    -webkit-box-shadow: 0 0 0 10px rgba(116, 116, 116, 0.3), 0 0 0 30px rgba(116, 116, 116, 0.3), 0 0 0 60px rgba(116, 116, 116, 0.3), 0 0 0 90px rgba(116, 116, 116, 0);
            box-shadow: 0 0 0 10px rgba(116, 116, 116, 0.3), 0 0 0 30px rgba(116, 116, 116, 0.3), 0 0 0 60px rgba(116, 116, 116, 0.3), 0 0 0 90px rgba(116, 116, 116, 0);
  }
}



.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-4px;
  min-height:100px;
  max-height:150px;
  transform: rotate(180deg);
}
.waves.revert {
  transform: rotate(0deg);
}
.waves.start .parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.waves.start .parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.waves.start .parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.waves.start .parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.waves.start .parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

  :root{
  --bg: #fbfdff;
  --phone-grad: linear-gradient(135deg,#ffd6a5 0%, #ff9bb3 50%, #cbbcff 100%);
  --phone-outline:#2a2a2a;
  --screen:#04060a;
  --glass: rgba(255,255,255,0.9);
}

.cartoon-screen-compact{
  width: 350px;
  margin: auto; 
}
/* wrapper: does NOT fill the viewport, keeps layout compact */
.cartoon-compact-row{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
/* the compact phone */
.cartoon-phone-compact{width:460px;border-radius:36px;padding:20px;background:linear-gradient(135deg,#ffd6a5 0%, #ff9bb3 50%, #cbbcff 100%);box-shadow:0 14px 30px rgba(15,20,30,0.12);position:relative;display:inline-block}
@media (max-width:420px){.cartoon-phone-compact{width:44vw}}
.cartoon-badge-compact{position:absolute;left:10px;top:10px;background:var(--glass);padding:6px 8px;border-radius:10px;font-size:12px;font-weight:700;box-shadow:0 6px 14px rgba(10,10,20,0.06)}
.cartoon-screen-compact{position:relative;height:100%;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#ffd6a5 0%, #ff9bb3 50%, #cbbcff 100%);border:3px solid rgba(255,255,255,0.03);box-shadow:inset 0 6px 20px rgba(0,0,0,0.45)}
.cartoon-video-compact{width:100%;height:100%;object-fit:cover;display:block;}
/* small circular play button */
.cartoon-play-small{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#ffffff,#fff8);box-shadow:0 8px 20px rgba(10,10,20,0.18);border:1px solid rgba(10,10,20,0.04);cursor:pointer;z-index:6;transition:transform .12s ease,opacity .18s ease}
.cartoon-play-small:active{transform:translate(-50%,-50%) scale(.96)}
.cartoon-play-small svg{width:26px;height:26px;fill:#ff4d94}
/* bottom home pill (tiny) */
.cartoon-home-compact{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);width:44px;height:12px;border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,0.95),rgba(255,255,255,0.85));box-shadow:0 6px 12px rgba(0,0,0,0.08);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:11px;color:#222;padding-bottom: 2.5px;}
/* decorative sparkles (kept subtle) */
.cartoon-sparkle{position:absolute;border-radius:10px;opacity:.95;filter:blur(.3px)}
.spark1{right:-8%;top:-6%;width:36px;height:36px;background:radial-gradient(circle at 30% 30%, #fff1b8,#ff9bb3)}
.spark2{left:-6%;bottom:8%;width:30px;height:30px;background:radial-gradient(circle at 30% 30%, #cfe1ff,#cbbcff)}
/* small caption to the right */
.compact-caption{display:flex;flex-direction:column;justify-content:center;gap:6px}
.compact-title{font-weight:700;font-size:15px}
.compact-sub{font-size:13px;color:#4b5563}
/* subtle hover: reveal play button if hidden */
.cartoon-phone-compact:hover .cartoon-play-small{opacity:1}

.cartoon-block {
    margin-left: 70px;
}










@media (max-width: 1400px) {
  .tooth-container {
    height: 320px;
  }
}

@media(max-width: 1282px){
  .cartoon-block {
    margin-left: 0px;
  }
}

@media (max-width: 1200px) {
  .tooth-title {
    font-size: 3rem;
  }
  .my-section {
    padding-top: 0px;
  }
  .photo-img {
    width: 250px;
  }
  .photo-text, .photo-btn {
    font-size: 27px;
    margin: auto;
    display: block;
    margin-top: 20px;
  }
  .photo-left .photo-content {
    display: block;
  }
}
@media (max-width: 1000px) {
  .tooth-container {
    height: 250px;
  }
  .nav-links a {
    font-size: 16px;
  }
  .mini-header .logo span {
    font-size: 10px;
  }
}
@media (max-width: 800px) {
  .tooth-container {
    height: 200px;
  }
}
@media (max-width: 768px) {

  .flex-block {
    display: block;
  }
  .lang-toggle.mob {
    margin-bottom: 20px;
  }
  .lang-toggle.pc{
    display: none;
  }
  .photo-img {
    width: 250px;
    margin-top: 20px;
  }
  .consultation-section {
    flex-direction: column;
    padding: 40px 15px;
  }
  .contacts-container {
      flex-direction: column;
      gap: 30px;
    }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links a {
    font-size: 20px;
  }
  .mini-header .logo span {
    font-size: 15px;
  }
  .nav-links,
  .contact-button {
    display: none;
  }

  .burger {
    display: flex;
  }
  header{
    display: none;
  }
  .mini-header .container {
    padding: 0 10px;
    height: 100%;
  }
  .tooth-title {
    font-size: 2rem;
  }
  .wave-bottom, .wave-top {
    height: 100px;
  }
  .wave-bottom::after {
    filter: unset;
  }

  .tooth-title {
    font-size: 2.7rem;
    top: -100px;
  }
  .card-inner {
    padding: 1.5rem 1rem;
  }

  .card-inner h3 {
    font-size: 1.1rem;
  }

  .card-inner p {
    font-size: 0.95rem;
  }

  .animated-bg img {
    opacity: 0.08;
    width: 40px;
  }
  .animated-bg img:nth-child(6),
  .animated-bg img:nth-child(7) {
    display: none;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-content h2 {
    font-size: 26px;
  }

  .hero-content ul li {
    font-size: 16px;
  }
  .photo-content {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    padding: 40px 0px;
  }

  .photo-block {
    height: auto;
  }
  .card {
    flex: 1 0 calc(40% - 20px);
    max-width: calc(30% - 20px);
    font-size: 0.7rem;
    padding: 10px 20p
  }
  .block-header {
    height: 80px;
  }

  .tooth-title {
      top: -10px;
      font-size: 40px;
  }
  .tooth-container {
    height: 400px;
  }
  .footer {
    font-size: 14px;
    padding: 16px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    width: 90%;
  }
  .service-cards img {
    width: 120px;
    height: 120px;
  } 
  .tooth-container {
    background: white;
  }
  .tooth-image {
    padding-top: 80px;
  }
  .hero-container {
    gap: 20px;
  }
  .map-wrapper, .info-wrapper {
    flex: 1 1 450px;
    justify-content: center;
  }
  .mobile-menu .socials{
    background: white;
    justify-content: center;
  }
  .waves {
    height:40px;
    min-height:40px;
  }
  .waves .content {
    height:30vh;
  }
  .waves {
    height: 90px;
  }
}

@media (max-width: 570px) {
  .tooth-title {
    font-size: 2rem;
    top: -10px;
  }
  .tooth-container {
    height: 300px;
  }
}


@media (max-width: 400px) {
  .tooth-container {
      height: 290px;
  }
  .tooth-title {
    font-size: 4rem;
    top: -40px;
  }
}
@media (max-width: 370px) {
  .mini-header .logo span {
    font-size: 12px;
  }
  .btn-dental {
    padding: 5px 10px;
    font-size: 14px;
  }
  .mobile-menu {
    right: -120%;
    width: 250px;
  }
}

@media (max-width: 340px) {
  .cartoon-screen-compact {
    width: 95%;
    margin: auto;
  }
  .mini-header .logo span {
    font-size: 10px;
  }
  .btn-dental {
    padding: 5px 5px;
    font-size: 12px;
  }
  .tooth-title {
     font-size: 3rem;
  }
  .tooth-container {
    height: 230px;
  }
  .hero-image img {
    max-width: 200px;
  }
  .hero-content {
    min-width: auto;
  }
  .card-inner img {
    width: 240px;
    height: 300px;
  }
  .photo-text, .photo-btn {
    font-size: 18px;
  }
  .my-swiper-button-prev, .my-swiper-button-next {
    width: 25px;
    height: 25px;
  }
  .left-slider {
    padding: 10px;
  }
  .why-darsbery__title {
    font-size: 1.5rem;
  }
  .consultation-section {
    padding: 20px;
    flex-wrap: nowrap;
  }
  .right-form h2 {
    font-size: 22px;
  }
  .contacts-section::before {
    top: -160px;
  }
  .mobile-menu {
    width: 220px;
  }
  .chat-window {
    width: 180px;
  }
  .p-services-title {
    font-size: 25px;
  }
  .p-services-table .table-row {
    font-size: 15px;
  }
  .custom-question-form {
    display: block; 
  }
  .custom-question-input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
  }
  .logo {
    text-align: center;
  }
  .mini-header .logo img {
    width: 50px;
    height: 40px;
  }
  .btn-dental {
    padding: 3px;
    font-size: 12px;
    margin-right: 10px;
    margin-left: 10px;
  }
  .section-title {
    font-size: 2rem;
  }
  .service-cards {
    padding: 20px 0px;
  }
  .quote-image img {
    width: 120px;
    height: 120px;
  }
  .right-form h2 {
    font-size: 18px;
  }
  .right-form {
    font-size: 14px;
    padding: 10px;
  }
  .why-darsbery__title, .why-darsbery__title {
    font-size: 1.2rem;
  }
  .info-wrapper {
    padding: 10px;
  }
  .mobile-menu {
    width: 80%;
  }
  .chat-window {
    max-height: 400px;
  }
  .drip-wrapper .drip {
    height: 20px;
    width: 20px;
  }
  .drip-wrapper .drip:nth-child(10) {
    height: 30px;
    width: 20px;
  }
  .p-services-description h2 {
    text-indent: 0px;
  }
  .p-services-description ul, .p-services-description ol {
    margin-left: 0px;
  }
  .block-white, .p-services-block  {
    padding: 10px;
  }
  .p-services-consult .btn-dental {
    padding: 10px;
  }
  .p-services-description p {
    text-indent: 20px;
  }
  .p-services-description ul, .p-services-description ol {
    margin-left: 10px;
    padding: 0px;
    line-height: 30px;
  }
  .info-item {
    padding: 5px;
    font-size: 16px;
  }
  .info-wrapper {
    padding: 5px;
  }
}

