html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.container {
  width: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- PREMIUN HEADER --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #FFFFFF;
  padding: 24px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo img {
  height: 38px !important;
  width: auto;
}



.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}




.nav-links a {
  white-space: nowrap !important;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary-dark-blue);
  opacity: 0.7;
  transition: 0.3s;
  display: inline-block;
  text-align: center;
  line-height: 1.1;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--primary-orange);
}





.header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 30px;
}


.header-contacts {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 2px;
}

.header-contacts .phone {
  font-weight: 700;
  color: var(--primary-dark-blue);
}

.header-contacts .hours {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary-dark-blue);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* --- THE NEW PREMIUM HERO --- */
.hero {
  position: relative;
  background: #ffffff;
  min-height: 820px;
  overflow: hidden;
  padding-top: 0;
}

.hero-bg-shape {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 50%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(171, 206, 225, 0.6) 0%, rgba(171, 206, 225, 0) 70%);
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 750px;
  z-index: 2;
}

.hero-slide-item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide-item.active {
  display: block;
  opacity: 1;
  z-index: 8;
}

.hero-content {
    padding: 135px 0;
    max-width: 850px;
    position: relative;
    z-index: 10;
}

.hero-content .section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-light-blue);
  letter-spacing: 3px;
  margin-bottom: 25px;
  display: block;
}

.hero-content h1 {
  white-space: nowrap;
  font-size: 4.8rem;
  line-height: 1.05;
  color: var(--primary-dark-blue);
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: -2px;
}

.hero-content h1 span {
  color: var(--primary-orange);
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #5A7184;
  margin-bottom: 50px;
  max-width: 500px;
}

.hero-btn {
  background: var(--primary-orange);
  color: #fff !important;
  font-weight: 600;
  padding: 18px 45px;
  border-radius: 100px;
  box-shadow: 0 15px 35px rgba(241, 78, 35, 0.25);
  transition: all 0.4s ease;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  margin-top: 60px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(52, 97, 127, 0.05);
}

.feature-item:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(52, 97, 127, 0.12);
}

.feature-item .icon {
  color: var(--primary-orange);
  font-size: 1.4rem;
}

.feature-item span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark-blue);
  white-space: nowrap;
}

.hero-controls {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 100;
}

.slider-btn {
  background: #fff;
  border: 1px solid #DEE6EB;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-dark-blue);
  transition: 0.3s;
}

.slider-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DEE6EB;
  cursor: pointer;
  transition: 0.4s;
}

.slider-dot.active {
  background: var(--primary-orange);
  width: 24px;
  border-radius: 10px;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 5;
  pointer-events: none;
}

/* Slide 1 - Anzhela Dyba */
.hero-slide-1 .doctor-img {
  width: auto;
  height: 820px;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
  margin-right: -25%;
  filter: drop-shadow(0 20px 50px rgba(52, 97, 127, 0.15));
}

/* Slide 2 - Team Photo */
.hero-slide-2 .hero-content {
  max-width: 850px;
}

.hero-slide-2 .hero-image {
  width: 58%;
  justify-content: flex-end;
  right: 0;
}

.hero-slide-2 .doctor-img {
  width: auto;
  height: 700px;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom right;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(52, 97, 127, 0.15);
  margin-right: 0;
  /* Elegant fade to blend with text area */
  mask-image: linear-gradient(to right, transparent 0%, black 20%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
  filter: saturate(1.05);
}

/* --- COMMON SECTION STYLES --- */
section {
  padding: 100px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--primary-dark-blue);
  margin-bottom: 0;
  line-height: 1.1;
}

/* --- ABOUT SECTION --- */
.about {
  background: var(--white);
}

.about-container {
  display: flex;
  gap: 100px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 25px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #5A7184;
  margin-bottom: 20px;
}

.about-stats {
  flex: 1.2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.stat-card {
  background: #F4F8FA;
  padding: 45px 35px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.stat-card h3 {
  font-size: 2.8rem;
  color: var(--primary-dark-blue);
  margin-bottom: 12px;
}

.stat-card p {
  color: #5A7184;
  font-weight: 500;
}

.stat-card.active-stat {
  background: var(--primary-light-blue);
  color: var(--white);
}

.stat-card.active-stat h3, .stat-card.active-stat p {
  color: var(--white);
}


/* --- SERVICES SECTION --- */
.services {
  background: #ffffff;
  padding: 100px 0;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px 25px; /* Більш компактні відступи */
  border: 1px solid #F0F4F8;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  min-height: 260px; /* Зменшено з 320px */
  position: relative;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(52, 97, 127, 0.08);
  border-color: rgba(171, 206, 225, 0.3);
}

.icon-box {
  width: 48px;
  height: 48px;
  background: #F0F7FB;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px; /* Зменшено з 30px */
  transition: 0.3s;
}

.icon-box span {
  font-size: 1.4rem;
  color: var(--primary-light-blue);
}

.service-card h3 {
  font-size: 1.2rem; /* Трохи зменшено */
  font-weight: 700;
  color: var(--primary-dark-blue);
  margin-bottom: 10px; /* Зменшено з 15px */
  font-family: 'Outfit', sans-serif;
}

.service-card p {
  font-size: 0.85rem; /* Трохи менше для компактності */
  line-height: 1.5;
  color: #5A7184;
  margin-bottom: 25px; /* Зменшено з 40px */
}

.service-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F4F8FA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  transition: 0.3s;
}

.service-btn span {
  font-size: 1.2rem;
  color: var(--primary-light-blue);
}

.service-card:hover .service-btn {
  background: var(--primary-orange);
  color: #fff;
}

.service-card:hover .service-btn span {
  color: #fff;
}

/* --- ACTIVE STATE (NEUROLOGY) --- */
.service-card.active {
  background: #3182CE; /* Vibrant Blue */
  border-color: #3182CE;
  box-shadow: 0 25px 50px rgba(49, 130, 206, 0.25);
}

.service-card.active .icon-box {
  background: rgba(255,255,255,0.15);
}

.service-card.active .icon-box span {
  color: #fff;
}

.service-card.active h3,
.service-card.active p {
  color: #fff;
}

.service-card.active p {
  opacity: 0.9;
}

.service-card.active .service-btn {
  background: var(--primary-orange);
}

.service-card.active .service-btn span {
  color: #fff;
}



/* --- DOCTORS SECTION --- */
.doctors {
  background: #ffffff;
  padding: 100px 0;
  overflow: hidden;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  cursor: pointer;
  z-index: 100;
  border: none;
  color: var(--primary-dark-blue);
  transition: 0.3s;
}

.carousel-nav-btn:hover {
  background: var(--primary-orange);
  color: #fff;
}

.doctor-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #F0F4F8;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(52, 97, 127, 0.1);
}

.hero-slider {
  height: 750px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
}

.doc-card-visual {
  height: 320px;
  position: relative;
  overflow: hidden;
}

.doc-card-visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  object-position: top;
  transform: scale(1.1);
  transform-origin: bottom center;
}

.visual-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 0, transparent 50%);
  background-size: 10px 10px;
  z-index: 1;
}

.rating-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Background Tints */
.bg-mint { background-color: #fcefe7 !important; }

.bg-mint img {
  mix-blend-mode: multiply; /* Helps blend images with off-white backgrounds into the peach background */
  filter: contrast(1.05);
}
.bg-beige { background-color: #F8F3EE; }
.bg-sky { background-color: #EBF4F9; }
.bg-rose { background-color: #F8EDED; }

/* Keep doctor photos from being reset by later Elementor global img styles */
.elementor .elementor-widget-ds_clinic_doctors .doc-card-visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  z-index: 1;
  object-fit: cover;
  object-position: top;
  transform: scale(1.1);
  transform-origin: bottom center;
}

.doc-card-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.doc-card-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark-blue);
  margin-bottom: 5px;
  font-family: 'Outfit', sans-serif;
}

.spec-label {
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: block;
}

.experience {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #ABBCC9;
  margin-bottom: auto;
}

.experience span {
  font-size: 1.1rem;
}

.doc-card-btns {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-dark-blue {
  flex-grow: 1;
  background: #0D3B66; /* Deep medical blue */
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-dark-blue:hover {
  background: var(--primary-orange);
}

.btn-square-arrow {
  width: 45px;
  height: 45px;
  background: #F0F7FB;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-light-blue);
  transition: 0.3s;
}

.btn-square-arrow:hover {
  background: var(--primary-orange);
  color: #fff;
}

.btn-cta-orange {
  background: var(--primary-orange);
  color: #fff;
  border: none;
  padding: 20px 45px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(241, 78, 35, 0.25);
  transition: all 0.4s ease;
}

.btn-cta-orange:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(241, 78, 35, 0.35);
}

/* --- REVIEWS --- */
.reviews {
  padding: 100px 0;
  background: #fff;
}

.reviews-row {
  margin-top: 40px;
}



.review-card {
  background: #fff;
  padding: 35px 30px;
  border-radius: 20px;
  border: 1px solid #EEF2F6;
  display: flex;
  flex-direction: column;
  min-width: calc(50% - 12px); /* Показуємо по 2 картки в зоні слайдера */
  box-sizing: border-box;
  height: 100%;
}

.review-quote {
  font-size: 3.5rem;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 15px;
  font-family: serif;
  display: block;
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #5A7184;
  font-style: italic;
  margin-bottom: 25px;
  flex-grow: 1;
}

.review-author {
  font-size: 0.85rem;
  color: #ABBCC9;
  font-weight: 500;
}

.cta-panel {
  background: #EDF5FA; /* Ніжно-блакитний */
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
}

.cta-panel h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1E3A56;
  line-height: 1.3;
  margin-bottom: 12px;
}

.cta-panel p {
  color: #5A7184;
  font-size: 0.85rem;
  margin-bottom: 25px;
}

.btn-orange-pill {
  background: var(--primary-orange);
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(241, 78, 35, 0.2);
}

.btn-orange-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(241, 78, 35, 0.3);
}

.reviews-nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
}

.rev-nav-btn {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #EEF2F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1E3A56;
  transition: all 0.3s ease;
}

.rev-nav-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 97, 127, 0.05);
}

.carousel-dots-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dots-container .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EBF4F9;
  cursor: pointer;
  transition: all 0.4s ease;
}

.carousel-dots-container .dot.active {
  background: var(--primary-orange);
  width: 18px;
  border-radius: 10px;
}


/* --- BLOG --- */
.blog {
  background: #ffffff;
  padding: 100px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid #F0F4F8;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(52, 97, 127, 0.1);
}

.blog-card-visual {
  height: 220px;
  background-color: #EBF4F9;
  background-image: repeating-linear-gradient(45deg, rgba(171, 206, 225, 0.1) 0, rgba(171, 206, 225, 0.1) 1px, transparent 0, transparent 50%);
  background-size: 15px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-card-visual--image {
  background: #EAF3F8;
}

.blog-card-visual--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-visual .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff;
  color: var(--primary-dark-blue);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  z-index: 5;
}

.visual-icon span {
  font-size: 2.8rem;
  color: var(--primary-light-blue);
  opacity: 0.8;
}

.blog-card-content {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.85rem;
  color: #ABBCC9;
  margin-bottom: 15px;
  display: block;
}

.blog-card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--primary-dark-blue);
  font-family: 'Outfit', sans-serif;
}

.blog-card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5A7184;
  margin-bottom: 30px;
  flex-grow: 1;
}

.read-more {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.read-more span {
  font-size: 1.1rem;
  transition: 0.3s;
}

.blog-card:hover .read-more span {
  transform: translateX(5px);
}



/* --- FOOTER --- */
.footer {
  background: #0D3B66; /* Deep medical blue */
  color: #ABBCC9;
  padding: 100px 0 30px;
  font-family: 'Outfit', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--primary-orange);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #ABBCC9;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 20px 0 25px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--primary-orange);
  transform: translateY(-3px);
}

.contact-info li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-info li span {
  color: var(--primary-orange);
  font-size: 1.3rem;
  margin-top: 2px;
}

.contact-info li a {
  font-weight: 600;
  color: #fff !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #ABBCC9;
  text-decoration: none;
}

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

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}


@media (max-width: 992px) {
  .hero-content h1 {
  white-space: nowrap; font-size: 1.9rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
  
  .sticky-mobile-cta { display: none !important; }
  body { padding-bottom: 0 !important; }
  
  .section-header { text-align: left; align-items: flex-start; }
  .section-header div { display: flex; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 576px) {
  .hero-content h1 {
  white-space: nowrap; font-size: 1.7rem !important; line-height: 1.1; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 30px; }
  
  .hero-benefits {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
    margin-top: 30px !important;
  }
  
  .benefit-item {
    width: 100%;
    justify-content: space-between;
  }
  
  /* Modal responsive fix */
  .modal-content {
    max-width: 90% !important;
    padding: 30px 20px !important;
    margin: 10px;
  }
  .modal-header h2 { font-size: 1.4rem; }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column !important;
    gap: 40px !important;
  }
  .about-text, .about-stats {
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .hero-features {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
    margin-top: 30px !important;
  }
  .feature-item {
    width: 100%;
  }
}

@media (max-width: 932px) {
  .reviews-row {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .reviews-slider-area, .cta-panel {
    grid-column: span 1 !important;
    width: 100% !important;
  }
}

/* --- PREMIUM MOBILE OVERHAUL (FINAL) --- */
@media (max-width: 768px) {
  .header { padding: 12px 0 !important; }
  .logo img { height: 28px !important; }
  
  .hero { 
    padding-top: 140px !important; /* Force content below header */
    min-height: auto !important;
  }
  
  .hero-content h1 {
  white-space: nowrap; 
    font-size: 1.8rem !important; 
    margin-top: 0 !important;
    text-align: center;
  }
  
  .hero-subtitle { text-align: center; margin: 0 auto 30px; }
  .hero-btns { justify-content: center; }
  
  /* Stats Section Fix */
  .about-container { flex-direction: column !important; gap: 40px !important; text-align: center; }
  .about-stats { 
    display: flex !important; 
    flex-direction: column !important; 
    width: 100% !important;
    gap: 20px !important;
  }
  .stat-card { width: 100% !important; padding: 30px !important; }
  
  /* Reviews Section Fix */
  .reviews-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }
  .reviews-slider-area, .cta-panel {
    width: 100% !important;
    max-width: 100% !important;
  }
  .review-card {
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* ============================================================
   THE FINAL RESURRECTION: MASTER MOBILE OVERRIDES (2026)
   ============================================================ */

@media (max-width: 992px) {
  /* Force Hamburger */
  

.nav-links { display: none !important; }
  .mobile-nav-toggle { display: block !important; position: relative; z-index: 2000; }
  
.header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 30px;
}

  
  .header-wrapper { justify-content: space-between !important; padding: 0 20px; }
  
  .services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
  }
  .services-grid .service-card {
    box-sizing: border-box !important;
    flex: 0 0 calc(50% - 7px) !important;
    width: calc(50% - 7px) !important;
    max-width: calc(50% - 7px) !important;
    padding: 16px !important;
  }
  .blog-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
}

@media (max-width: 991px) {
  .hero-slider-wrapper {
    height: auto;
    min-height: 600px;
    padding: 120px 0 60px;
  }

  .hero-slide {
    flex-direction: column !important;
    text-align: center;
    padding: 0 20px;
    position: relative;
    height: auto;
  }

  .hero-content {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 40px;
    z-index: 10;
  }

  .hero-content h1 {
  white-space: nowrap;
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    margin: 0 auto 30px !important;
    font-size: 1.1rem !important;
  }

  .hero-image {
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
    display: flex !important;
    justify-content: center;
    margin-top: 20px;
  }

  .doctor-img {
    height: 80% !important;
    width: auto !important;
    object-position: center bottom !important;
  }

  .hero-controls {
    margin-top: 30px !important;
    justify-content: center !important;
    width: 100% !important;
    display: flex !important;
    gap: 20px !important;
  }

  /* GRID STACKING (FOR MOBILE ONLY) */
  .about-container { flex-direction: column !important; gap: 40px !important; text-align: center; }
  .about-stats { grid-template-columns: 1fr !important; width: 100% !important; gap: 20px !important; }
  .stat-card { width: 100% !important; padding: 40px !important; }
  
  /* DOCTORS STACKING (FOR MOBILE ONLY) */
  .doctors-track { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 30px !important; 
    transform: none !important; 
  }
  .doctor-card { width: 100% !important; min-width: 100% !important; }
  
  /* REVIEWS STACKING (FOR MOBILE ONLY) */
  .reviews-row { display: flex !important; flex-direction: column !important; gap: 40px !important; }
  .reviews-slider-area, .cta-panel { width: 100% !important; max-width: 100% !important; }
  .review-card { width: 100% !important; min-width: 100% !important; }
  
  /* FOOTER STACKING (FOR MOBILE ONLY) */
  .footer-grid { grid-template-columns: 1fr !important; text-align: center; gap: 40px !important; }
}

@media (max-width: 768px) {
  .hero-content h1 {
  white-space: nowrap; font-size: 1.8rem !important; }
  .hero-slider { min-height: 550px; }
  .hero-image { height: 300px !important; }
  .hero-controls { margin-top: 20px !important; }
}

@media (max-width: 480px) {
  .hero-content h1 {
  white-space: nowrap; font-size: 1.6rem !important; }
  .section-header h2 { font-size: 1.8rem !important; text-align: center; width: 100%; }
}

/* ============================================================
   THE ULTIMATE POLISH: POPUP & HEADINGS (FINAL)
   ============================================================ */

@media (max-width: 768px) {
  /* Fix Heading Overlaps */
  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
    text-align: left !important;
    margin-bottom: 40px !important;
  }
  
  .section-header h2 {
    font-size: 1.8rem !important;
    text-align: left !important;
  }
  
  .section-header a, .section-header .view-all {
    margin-top: 5px !important;
    font-size: 0.9rem !important;
  }

  /* Modal (Popup) Perfection */
  .modal-overlay.active ~ .sticky-mobile-cta {
    display: none !important;
  }
  
  /* If the above sibling selector doesn't work, we use an alternative approach */
  body.modal-open .sticky-mobile-cta {
    display: none !important;
  }

  .modal-content {
    width: 90% !important;
    max-width: 100% !important;
    padding: 40px 25px !important;
    border-radius: 30px !important;
  }
  
  .modal-content h2 {
    font-size: 1.6rem !important;
    margin-bottom: 25px !important;
    line-height: 1.2 !important;
  }

  .appointment-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

  .appointment-form input {
    width: 100% !important;
    padding: 16px !important;
    border-radius: 12px !important;
    border: 1px solid #E2E8F0 !important;
    font-size: 1rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
  }
  
  .submit-btn {
    width: 100% !important;
    padding: 18px !important;
    font-size: 1.1rem !important;
    margin-top: 10px !important;
  }
  
  .close-popup {
    top: 15px !important;
    right: 15px !important;
  }
}

/* ============================================================

/* ============================================================
   DESKTOP RESURRECTION: ISOLATING MOBILE STYLES
   ============================================================ */

/* --- GLOBAL MODAL (DEFAULTS FOR DESKTOP) --- */
.modal-overlay {
    z-index: 9999 !important;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 59, 71, 0.6);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 600px; /* Bigger for desktop */
  padding: 50px;
  border-radius: 32px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: #F4F8FA;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark-blue);
  transition: 0.3s;
}

.close-btn:hover {
  background: var(--primary-orange);
  color: #fff;
}

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

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark-blue);
  margin-bottom: 8px;
}

.appointment-form input {
  width: 100%;
  height: 54px;
  padding: 0 20px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  font-size: 1rem;
  background: #F8FAFC;
  box-sizing: border-box;
}

.ds-clinic-cf7-form form {
  display: block;
}

.ds-clinic-cf7-form p {
  margin: 0 0 20px;
}

.ds-clinic-cf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark-blue);
  margin-bottom: 8px;
}

.ds-clinic-cf7-form input:not([type="submit"]),
.ds-clinic-cf7-form textarea,
.ds-clinic-cf7-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  font-size: 1rem;
  background: #F8FAFC;
  box-sizing: border-box;
  font-family: var(--font-main);
}

.ds-clinic-cf7-form textarea {
  min-height: 120px;
  padding-top: 16px;
  resize: vertical;
}

.ds-clinic-cf7-form input[type="submit"],
.ds-clinic-cf7-form .wpcf7-submit {
  width: 100%;
  height: 60px;
  margin-top: 10px;
  border-radius: 14px;
  border: none;
  background: var(--primary-orange);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(241, 78, 35, 0.25);
  transition: all var(--transition-normal);
}

.ds-clinic-cf7-form input[type="submit"]:hover,
.ds-clinic-cf7-form .wpcf7-submit:hover {
  background: #D94017;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(241, 78, 35, 0.35);
}

.ds-clinic-cf7-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.82rem;
}

.ds-clinic-cf7-form .wpcf7-response-output {
  margin: 18px 0 0 !important;
  border-radius: 12px;
  padding: 12px 16px !important;
  font-size: 0.9rem;
}

.submit-btn {
  width: 100%;
  height: 60px;
  margin-top: 10px;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* --- LIGHT FOOTER (DESKTOP FIRST) --- */
.footer {
  background: #F8FBFE !important;
  color: #5A7184 !important;
  padding: 100px 0 40px !important;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-main-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Map left, Content right */
  gap: 60px;
  margin-bottom: 60px;
}

.footer-map-container {
  width: 100%;
}

.footer-blocks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important; /* BACK TO 4 COLUMNS FOR DESKTOP */
  gap: 30px;
}

.footer h3 {
  color: var(--primary-dark-blue) !important;
  font-size: 1.1rem !important;
  margin-bottom: 25px !important;
  font-weight: 700 !important;
}

.footer a {
  color: #5A7184 !important;
  text-decoration: none !important;
  transition: 0.3s !important;
}

.footer p { color: #5A7184 !important; line-height: 1.6 !important; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.05) !important;
  padding-top: 40px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* --- MOBILE SPECIFIC OVERRIDES (BACK INTO MEDIA QUERIES) --- */
@media (max-width: 991px) {
  .footer-main-row { grid-template-columns: 1fr !important; gap: 50px !important; }
  .footer-blocks-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .footer-blocks-grid { grid-template-columns: 1fr !important; text-align: center; }
  .footer-bottom { flex-direction: column !important; text-align: center; }
  
  .modal-content {
    width: 95% !important;
    padding: 40px 25px !important;
    border-radius: 24px !important;
  }

  .modal-header {
    padding-right: 64px !important;
  }

  .modal-header h2 {
    max-width: calc(100% - 72px) !important;
    font-size: 1.35rem !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  .close-btn {
    top: 18px !important;
    right: 18px !important;
    width: 40px !important;
    height: 40px !important;
  }
  
  /* Hide sticky button when open */
  body.modal-open .sticky-mobile-cta { display: none !important; }
}

/* Sticky Button Visibility */
.sticky-mobile-cta { display: none !important; }
@media (max-width: 991px) {
  .sticky-mobile-cta { display: block !important; }
}

/* --- THE HONEST CORRECTION: FINAL POLISH --- */
@media (max-width: 768px) {
  .hero-content h1 {
  white-space: nowrap;
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 20 !important;
  }
}

/* Footer Contrast & Scroll Fix */
.footer {
  overflow: hidden !important;
}

.footer a, .footer p, .footer .footer-about-text, .footer-desc {
  color: #1E3A56 !important;
  opacity: 1 !important;
}

.footer h3 {
  color: #0D3B66 !important;
}

.footer-map-container iframe {
  max-width: 100% !important;
}

@media (max-width: 480px) {
  .modal-content {
    max-width: 95% !important;
    width: 95% !important;
    margin: 0 auto !important;
  }
}

/* --- LVIV FOOTER POLISH --- */
.footer-social-row a.social-circle-icon {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer-social-row a.social-circle-icon:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-3px);
}

.footer-social-row a.social-circle-icon:hover img {
  filter: brightness(0) invert(1);
}

.footer-social-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
}

.footer-social-note__media {
  width: 100%;
  max-width: 220px;
}

.footer-social-note__media img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-social-note__body {
  width: 100%;
}

.footer-social-note__body p {
  margin: 0;
  color: #1E3A56 !important;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-blocks-grid {
  grid-template-columns: 1fr 0.8fr 1.2fr !important; /* Adjusted for Logo - Nav - Contacts */
}

@media (max-width: 991px) {
  .footer-blocks-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .footer-main-row {
    gap: 40px !important;
  }
}

/* --- FOOTER CONTENT VISIBILITY FIX --- */
.footer-blocks-grid {
  grid-template-columns: 1.2fr 1fr 1.5fr !important; /* Give more space */
  gap: 40px !important;
}

.footer a, .footer p, .footer-desc {
  color: #1E3A56 !important; /* Darker for accessibility */
  opacity: 1 !important;
}

.footer h3 {
  color: #0D3B66 !important;
  margin-bottom: 20px !important;
}

.contact-info li p, .contact-info li a {
  color: #1E3A56 !important;
}

@media (min-width: 992px) {
  .footer-main-row > *,
  .footer-content-side,
  .footer-map-container,
  .footer-blocks-grid > .footer-col {
    min-width: 0 !important;
  }

  .footer-main-row {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) !important;
    gap: 40px !important;
  }

  .footer-blocks-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr) minmax(240px, 1.3fr) !important;
    gap: 26px !important;
  }

  .footer-blocks-grid > .footer-col:last-child {
    min-width: 240px !important;
    width: auto !important;
  }

  .footer-col.brand {
    min-width: 0 !important;
    padding-right: 6px !important;
  }

  .footer-col .btn-orange-pill {
    max-width: 100% !important;
    white-space: nowrap !important;
  }
}

/* --- DOCTORS SLIDER MOBILE POLISH --- */
.carousel-nav-btn.prev { left: -60px; }
.carousel-nav-btn.next { right: -60px; }

@media (max-width: 1200px) {
  .carousel-nav-btn.prev { left: 10px; }
  .carousel-nav-btn.next { right: 10px; }
}

@media (max-width: 768px) {
  .doctor-card {
    min-width: 280px;
    width: calc(100vw - 60px);
    margin-right: 20px;
  }
  .doctors-track {
    gap: 0 !important; /* Managed by card margin/width */
  }
}

/* --- GROUPED SLIDER CONTROLS (Doctors) --- */
.slider-controls-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
}

.carousel-nav-btn.prev-small, 
.carousel-nav-btn.next-small {
    position: static !important;
    transform: none !important;
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
  .doctor-card {
    min-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    flex-shrink: 0;
  }
  .carousel-container {
    padding: 20px 0 !important;
  }
  .carousel-track {
    gap: 0 !important;
  }
}

/* --- PRICING SECTION (PREMIUM) --- */
.pricing {
  padding: 120px 0;
  background-color: #ffffff;
  position: relative;
}

.pricing-accordion {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-item {
  background: #ffffff;
  border: 1px solid rgba(241, 245, 249, 0.8);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pricing-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(52, 97, 127, 0.08);
  border-color: rgba(241, 78, 35, 0.15);
}

.pricing-header {
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: linear-gradient(to right, #ffffff, #FAFBFC);
}

.pricing-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pricing-title span {
  width: 48px;
  height: 48px;
  background: rgba(241, 78, 35, 0.08);
  color: var(--primary-orange);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.3s ease;
}

.pricing-item:hover .pricing-title span {
  background: var(--primary-orange);
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}

.pricing-title h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary-dark-blue);
  letter-spacing: -0.02em;
}

.toggle-icon {
  width: 32px;
  height: 32px;
  background: #F1F5F9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.4s ease;
}

.pricing-item.active .toggle-icon {
  background: var(--primary-orange);
  color: #fff;
  transform: rotate(180deg);
}

.pricing-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

.pricing-item.active .pricing-content {
  max-height: 1500px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #F1F5F9;
  transition: all 0.3s ease;
}

.price-row:hover {
  padding-left: 10px;
  background: linear-gradient(to right, rgba(241, 78, 35, 0.02), transparent);
}

.price-row span {
  color: #475569;
  font-size: 1.1rem;
  font-weight: 500;
}

.price-row strong {
  color: var(--primary-dark-blue);
  font-weight: 800;
  font-size: 1.2rem;
  background: rgba(241, 78, 35, 0.03);
  padding: 6px 16px;
  border-radius: 10px;
}

.price-group-title {
  font-weight: 800;
  color: var(--primary-orange);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 30px 0 10px;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 20px 40px 40px;
}

.p-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  text-align: center;
  transition: all 0.4s ease;
}

.p-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(241, 78, 35, 0.1);
}

.p-card h4 {
  color: var(--primary-dark-blue);
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.p-card p {
  font-size: 0.95rem;
  color: #64748B;
  margin-bottom: 20px;
  line-height: 1.5;
}

.p-card-price {
  font-weight: 900;
  color: var(--primary-orange);
  font-size: 1.6rem;
  display: inline-block;
  background: rgba(241, 78, 35, 0.05);
  padding: 8px 20px;
  border-radius: 12px;
}

.pricing-item.featured {
  border: 2px solid rgba(241, 78, 35, 0.2);
  background: linear-gradient(to bottom, #FFFBF9, #ffffff);
}

.pricing-item.featured .pricing-header {
    background: linear-gradient(to right, #FFFBF9, #ffffff);
}

@media (max-width: 992px) {
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
  .price-cards {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .pricing-header {
      padding: 20px;
  }
}

/* --- PRICING TABS --- */
.pricing-tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  background: #F8FAFC;
  padding: 10px;
  border-radius: 24px;
  width: fit-content;
  
  margin-right: auto;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
  border: 1px solid #E2E8F0;
}

.p-tab-btn {
  padding: 14px 28px;
  border: none;
  background: transparent;
  border-radius: 18px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  white-space: nowrap;
}

.p-tab-btn .material-icons-round {
  font-size: 20px;
  margin-right: 10px;
  vertical-align: middle;
  color: #94A3B8;
  transition: 0.4s;
}

.p-tab-btn.active .material-icons-round {
  color: var(--primary-orange);
  filter: none;
}

.p-tab-btn:hover {
  color: var(--primary-dark-blue);
  background: rgba(255,255,255,0.5);
}

.p-tab-btn.active {
  background: #ffffff;
  color: var(--primary-orange);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.p-tab-btn.active span {
  filter: grayscale(0);
}

.p-tab-content {
  display: none;
  animation: slideUp 0.6s ease;
  background: #ffffff;
  border: 1px solid #F1F5F9;
  border-radius: 40px;
  box-shadow: 0 25px 60px rgba(52, 97, 127, 0.05);
  overflow: hidden;
}

.p-tab-content.active {
  display: block;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-group-title {
  font-weight: 800;
  color: var(--primary-dark-blue);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 45px 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}

.price-group-title::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background: linear-gradient(to right, #E2E8F0, transparent);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #F1F5F9;
  transition: all 0.3s ease;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:hover {
  background: linear-gradient(to right, rgba(241, 78, 35, 0.03), transparent);
  padding-left: 15px;
}

.price-row span {
  color: #475569;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
}

.price-row strong {
  color: var(--primary-dark-blue);
  font-weight: 800;
  font-size: 1.15rem;
  background: #F8FAFC;
  padding: 8px 18px;
  border-radius: 12px;
  white-space: nowrap;
  border: 1px solid #F1F5F9;
  transition: 0.3s;
}

.price-row:hover strong {
  background: var(--primary-orange);
  color: #fff;
  border-color: var(--primary-orange);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 60px 60px;
}

.p-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 30px;
  border: 1px solid #EEF2F6;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.p-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(241, 78, 35, 0.15);
}

.p-card h4 {
  color: var(--primary-dark-blue);
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.p-card p {
  font-size: 0.95rem;
  color: #64748B;
  margin-bottom: 25px;
  line-height: 1.6;
}

.p-card-price {
  font-weight: 900;
  color: var(--primary-orange);
  font-size: 1.8rem;
  display: inline-block;
  background: rgba(241, 78, 35, 0.08);
  padding: 10px 25px;
  border-radius: 16px;
}

@media (max-width: 992px) {
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }
}

@media (max-width: 768px) {
  .pricing-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    justify-content: space-between;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pricing-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .p-tab-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .price-cards {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .price-row strong {
    align-self: flex-end;
  }
}

@media (max-width: 1250px) {
  .header-contacts .hours { display: none; }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--primary-orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(241, 78, 35, 0.25);
}

.btn-primary:hover {
  background: #D94017;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(241, 78, 35, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark-blue);
  border: 1px solid var(--primary-light-blue);
}

.btn-outline:hover {
  background: var(--primary-light-blue);
}

/* Link with Arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 0.95rem;
}

.link-arrow:hover {
  gap: 12px;
}

/* Base Sections */
section {
  padding: 80px 0;
}

.bg-muted {
  background-color: var(--bg-color);
}

/* Base Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 40px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--primary-dark-blue);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* ============================================================
   D.MED hero slider refresh - 2026-05-09
   ============================================================ */
.hero::before {
  display: none !important;
}

.hero-bg-shape {
  top: 52% !important;
  right: 2% !important;
  width: 52% !important;
  height: 68% !important;
  background: linear-gradient(145deg, rgba(171, 206, 225, 0.18), rgba(241, 78, 35, 0.08)) !important;
  filter: blur(0) !important;
  border-radius: 56px 0 0 56px;
  opacity: 0.9;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 750px !important;
  min-height: 0 !important;
  z-index: 2;
}

.hero-slide-item {
  overflow: hidden;
}

.hero-slide-item.active .hero-content {
  animation: heroTextIn 0.72s ease both;
}

.hero-content {
  max-width: 760px !important;
  padding: clamp(150px, 17vh, 188px) 0 70px !important;
  position: relative !important;
  z-index: 20 !important;
}

.hero-content .section-label {
  color: #a9c7d9 !important;
  letter-spacing: 7px !important;
  font-size: 0.78rem !important;
  margin-bottom: 24px !important;
}

.hero-content h1 {
  white-space: normal !important;
  max-width: 980px;
  font-size: clamp(4.1rem, 5.55vw, 6.35rem) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  margin-bottom: 24px !important;
  text-wrap: balance;
}

.hero-content h1 span {
  color: var(--primary-orange) !important;
}

.hero-subtitle {
  display: block !important;
  max-width: 560px !important;
  margin: 0 0 32px !important;
  color: #5f7485 !important;
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero-actions .btn {
  min-height: 54px;
  padding: 15px 28px;
}

.hero-actions .btn-outline {
  background: rgba(255,255,255,0.72);
  border-color: rgba(171, 206, 225, 0.62);
  color: var(--primary-dark-blue);
  box-shadow: 0 12px 38px rgba(52, 97, 127, 0.07);
}

.hero-actions .btn-outline:hover {
  background: #ffffff;
  border-color: rgba(241, 78, 35, 0.36);
  color: var(--primary-orange);
}

.hero-features {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(190px, max-content));
  gap: 12px 14px !important;
  margin-top: 0 !important;
  max-width: 610px;
}

.feature-item {
  min-height: 52px;
  padding: 11px 18px !important;
  background: rgba(255,255,255,0.72) !important;
  border: 1px solid rgba(226, 236, 242, 0.78) !important;
  box-shadow: 0 18px 46px rgba(52, 97, 127, 0.08) !important;
}

.feature-item .icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(241, 78, 35, 0.1);
  font-size: 1.05rem !important;
}

.feature-item span:last-child {
  font-size: 0.92rem !important;
  letter-spacing: 0 !important;
}

.hero-controls {
  margin-top: 60px !important;
  gap: 25px !important;
}

.slider-btn {
  width: 56px !important;
  height: 56px !important;
  background: rgba(255,255,255,0.86) !important;
  border-color: rgba(171, 206, 225, 0.46) !important;
  box-shadow: 0 18px 40px rgba(52, 97, 127, 0.1);
}

.slider-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-dark-blue) !important;
  border-color: var(--primary-dark-blue) !important;
  color: #ffffff !important;
}

.slider-dot {
  width: 9px !important;
  height: 9px !important;
  background: rgba(52, 97, 127, 0.16) !important;
}

.slider-dot.active {
  width: 32px !important;
  background: var(--primary-orange) !important;
}

.hero-image {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: 80% !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

.hero-slide-2 .hero-image {
  width: 58% !important;
  justify-content: flex-end !important;
}

.hero-slide-2 .doctor-img {
  width: auto !important;
  height: 550px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: bottom right !important;
  border-radius: 40px !important;
  box-shadow: none !important;
  filter: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

/* Live structure fix: production keeps the team image outside the inner container. */
.hero-slide-item.hero-slide-2 > .hero-image {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: 58% !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

.hero-slide-item.hero-slide-2 > .hero-image .doctor-img {
  width: auto !important;
  height: 550px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: bottom right !important;
  border-radius: 40px !important;
  box-shadow: none !important;
  filter: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.hero-slide-1 .hero-image {
  width: min(53vw, 860px) !important;
  right: -4vw !important;
}

.hero-slide-1 .doctor-img {
  height: min(76vh, 760px) !important;
  margin-right: 0 !important;
  filter: drop-shadow(0 34px 70px rgba(52, 97, 127, 0.18)) !important;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero-content h1 {
    font-size: clamp(3.2rem, 6.8vw, 4.5rem) !important;
  }

  .hero-image {
    width: 54vw !important;
  }
}

@media (max-width: 991px) {
  .hero {
    min-height: auto !important;
    border-radius: 0 0 26px 26px;
  }

  .hero::before {
    display: none !important;
  }

  .hero-slider-wrapper {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
  }

  .hero-slide-item {
    min-height: 760px;
  }

  .hero-slide-item.active {
    position: relative !important;
    z-index: 8 !important;
  }

  .hero-slide-item.active .hero-content {
    animation: none !important;
  }

  .hero-content {
    max-width: 100% !important;
    padding: 118px 0 30px !important;
    text-align: left !important;
  }

  .hero-content h1 {
    max-width: 720px;
    font-size: clamp(2.55rem, 9vw, 4rem) !important;
    text-align: left !important;
  }

  .hero-subtitle {
    max-width: 600px !important;
    margin: 0 0 24px !important;
    text-align: left !important;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .feature-item span:last-child {
    white-space: normal !important;
  }

  .hero-image,
  .hero-slide-1 .hero-image,
  .hero-slide-2 .hero-image {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    height: 340px !important;
    margin: 14px auto 0 !important;
    justify-content: center !important;
  }

  .hero-slide-2 .doctor-img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 28px !important;
    mask-image: linear-gradient(to bottom, black 70%, rgba(0,0,0,0.7) 100%) !important;
    -webkit-mask-image: linear-gradient(to bottom, black 70%, rgba(0,0,0,0.7) 100%) !important;
  }

  .hero-slide-1 .doctor-img {
    height: 100% !important;
    width: auto !important;
  }

  .hero-controls {
    justify-content: flex-start !important;
  }
}

@media (max-width: 620px) {
  .header-contacts {
    display: none !important;
  }

  .header-right .btn {
    display: none !important;
  }

  .hero-slide-item {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 106px !important;
    width: calc(100vw - 60px) !important;
    max-width: calc(100vw - 60px) !important;
    overflow: visible;
  }

  .hero-content .section-label {
    letter-spacing: 4px !important;
    font-size: 0.68rem !important;
  }

  .hero-content h1 {
    font-size: clamp(2.06rem, 9.6vw, 2.7rem) !important;
    line-height: 1.03 !important;
  }

  .hero-subtitle {
    font-size: 0.98rem !important;
    line-height: 1.62 !important;
    width: 330px !important;
    max-width: 100% !important;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    width: 330px !important;
    max-width: 100% !important;
  }

  .hero-features {
    grid-template-columns: 1fr;
    max-width: 310px;
    gap: 8px !important;
  }

  .feature-item {
    min-height: 44px;
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  .feature-item span:last-child {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
  }

  .feature-item .icon {
    width: 24px;
    height: 24px;
    font-size: 0.9rem !important;
    flex: 0 0 24px;
  }

  .hero-image,
  .hero-slide-1 .hero-image,
  .hero-slide-2 .hero-image {
    height: 300px !important;
  }

  .slider-btn {
    width: 48px !important;
    height: 48px !important;
  }
}

/* ============================================================
   Final mobile cleanup - 2026-05-09
   ============================================================ */
@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box !important;
  }

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    padding-bottom: 0 !important;
  }

  .container {
    padding: 0 20px !important;
  }

  section {
    padding: 56px 0 !important;
  }

  .header,
  .header.scrolled {
    padding: 10px 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .header-wrapper {
    min-height: 62px !important;
    position: relative !important;
    justify-content: space-between !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .logo img {
    width: 100% !important;
    max-width: 142px !important;
    height: auto !important;
    object-fit: contain;
    object-position: left center;
  }

  .logo {
    display: block;
    flex: 0 1 142px;
    max-width: 142px;
    margin-left: 12px !important;
  }

  .navbar {
    display: block !important;
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    flex: 0 0 0 !important;
    overflow: visible !important;
  }

  .header-right {
    display: none !important;
  }

  .header-contacts,
  .header-right .btn {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    margin-left: auto !important;
    margin-right: 12px !important;
    border-radius: 16px;
    border: 1px solid #d8e5ef;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(52, 97, 127, 0.08);
    color: var(--primary-dark-blue);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  }

  .mobile-nav-toggle .material-icons-round {
    font-size: 1.8rem !important;
    line-height: 1;
  }

  .mobile-nav-toggle.is-active {
    background: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(241, 78, 35, 0.22);
    transform: translateY(-1px);
  }

  .nav-links {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 14px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #dfeaf2 !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 44px rgba(52, 97, 127, 0.14) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column !important;
    gap: 10px !important;
    z-index: 2200 !important;
  }

  .nav-links.mobile-active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-links li {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px !important;
  }

  .nav-links li:last-child {
    margin-bottom: 0 !important;
  }

  .nav-links a {
    display: flex !important;
    align-items: center !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    opacity: 1 !important;
    color: var(--primary-dark-blue) !important;
    background: #f7fbfe !important;
    border: 1px solid #e5eef5 !important;
    border-radius: 16px !important;
  }

  .hero {
    min-height: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-radius: 0 0 28px 28px !important;
  }

  .hero::before,
  .hero-bg-shape {
    display: none !important;
  }

  .hero-slider-wrapper {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .hero-slide-item {
    min-height: 0 !important;
    overflow: visible !important;
  }

  .hero-slide-item:not(.active) {
    display: none !important;
  }

  .hero-slide-shell {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: none !important;
    padding: 84px 0 0 !important;
  }

  .hero-content .section-label {
    margin-bottom: 14px !important;
    font-size: 0.68rem !important;
    letter-spacing: 4px !important;
  }

  .hero-content h1 {
    max-width: 320px !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    font-size: clamp(2.15rem, 10.8vw, 2.85rem) !important;
    line-height: 0.98 !important;
    text-align: left !important;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    width: auto !important;
    max-width: 340px !important;
    margin: 0 0 20px !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  .hero-actions {
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  .hero-actions .btn {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    padding: 14px 18px !important;
    font-size: 0.96rem !important;
  }

  .hero-features {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    gap: 10px !important;
    margin-top: 0 !important;
  }

  .hero-features .feature-item:nth-child(n+3) {
    display: none !important;
  }

  .feature-item {
    min-height: 46px !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
  }

  .feature-item .icon {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    font-size: 0.9rem !important;
  }

  .feature-item span:last-child {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
  }

  .hero-controls {
    display: none !important;
  }

  .hero-image,
  .hero-slide-1 .hero-image,
  .hero-slide-2 .hero-image {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 214px !important;
    margin: 18px 0 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    display: block !important;
  }

  .hero-slide-2 .doctor-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 28% !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 38px rgba(52, 97, 127, 0.14) !important;
  }

  .hero-slide-1 .doctor-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #eef6fb 0%, #f8fbfe 100%) !important;
  }

  .about-container,
  .reviews-row,
  .footer-main-row {
    flex-direction: column !important;
    gap: 28px !important;
  }

  .about-container {
    text-align: left !important;
  }

  .about-text,
  .about-stats,
  .reviews-slider-area,
  .cta-panel,
  .footer-content-side,
  .footer-map-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 28px !important;
    text-align: left !important;
  }

  .section-header h2,
  .about-text h2,
  .pricing h2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    font-size: clamp(1.95rem, 8.8vw, 2.35rem) !important;
    line-height: 1.06 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .about-text p {
    font-size: 0.98rem !important;
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
  }

  .about-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 14px !important;
    align-items: stretch !important;
  }

  .stat-card {
    width: auto !important;
    max-width: none !important;
    min-height: 170px !important;
    padding: 24px 20px !important;
    border-radius: 22px !important;
  }

  .stat-card h3 {
    font-size: 2.1rem !important;
    margin-bottom: 8px !important;
  }

  .blog-grid,
  .price-cards,
  .footer-blocks-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .services-grid .service-card {
    box-sizing: border-box !important;
    display: flex !important;
    flex: 0 0 calc(50% - 7px) !important;
    width: calc(50% - 7px) !important;
    max-width: calc(50% - 7px) !important;
    margin: 0 !important;
    padding: 16px !important;
  }

  .service-card,
  .blog-card,
  .p-card {
    min-height: 0 !important;
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .service-card h3 {
    font-size: 0.94rem !important;
    line-height: 1.18 !important;
    margin-bottom: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .service-card {
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .service-card .icon-box {
    margin-bottom: 0 !important;
  }

  .service-card .service-btn {
    margin-top: 4px !important;
  }

  .pricing .container > div:first-child {
    margin-bottom: 32px !important;
  }

  .pricing .container > div:first-child h2 {
    font-size: clamp(1.95rem, 8.8vw, 2.35rem) !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .pricing .container > div:first-child p {
    font-size: 0.95rem !important;
    margin-top: 14px !important;
  }

  .pricing-tabs-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    padding: 10px !important;
    overflow: visible !important;
  }

  .p-tab-btn {
    flex: 1 1 calc(50% - 5px) !important;
    min-width: calc(50% - 5px) !important;
    min-height: 54px !important;
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
    border-radius: 18px !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.1 !important;
  }

  .p-tab-btn .material-icons-round {
    margin-right: 0 !important;
    font-size: 1.05rem !important;
  }

  .p-tab-btn:nth-child(5) {
    flex-basis: 100% !important;
    min-width: 100% !important;
  }

  .price-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 12px 0 !important;
  }

  .price-row span,
  .price-row strong {
    font-size: 0.95rem !important;
  }

  .doctor-card,
  .review-card {
    min-width: 100% !important;
    width: 100% !important;
  }

  .slider-controls-group,
  .reviews-nav-container {
    justify-content: center !important;
  }

  .footer-blocks-grid,
  .footer-bottom {
    text-align: left !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .footer-legal,
  .footer-social-row {
    flex-wrap: wrap !important;
  }

  .sticky-mobile-cta {
    display: block !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 1800 !important;
  }
}

@media (max-width: 420px) {
  .hero-content h1 {
    max-width: 300px !important;
    font-size: clamp(2rem, 10vw, 2.45rem) !important;
  }

  .hero-subtitle {
    max-width: 320px !important;
  }

  .feature-item span:last-child {
    font-size: 0.78rem !important;
  }

  .hero-image,
  .hero-slide-1 .hero-image,
  .hero-slide-2 .hero-image {
    height: 206px !important;
  }
}

@media (max-width: 768px) {
  .slider-controls-group {
    width: 100% !important;
    padding: 0 18px !important;
    gap: 14px !important;
    box-sizing: border-box !important;
  }

  .carousel-dots-container {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: center !important;
  }

  .carousel-nav-btn.prev-small,
  .carousel-nav-btn.next-small {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    flex: 0 0 42px !important;
  }
}

@media (max-width: 768px) {
  .hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%) !important;
    border-radius: 0 0 28px 28px !important;
  }

  .hero-slider-wrapper {
    padding: 0 0 18px !important;
  }

  .hero-slide-item,
  .hero-slide-item.active {
    position: relative !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .hero-slide-item .container,
  .hero-slide-shell {
    height: auto !important;
    min-height: 0 !important;
  }

  .hero-content {
    padding: 82px 0 0 !important;
  }

  .hero-content .section-label {
    margin-bottom: 12px !important;
    letter-spacing: 3px !important;
    font-size: 0.68rem !important;
  }

  .hero-content h1 {
    max-width: 320px !important;
    font-size: clamp(2.25rem, 11vw, 2.9rem) !important;
    line-height: 0.96 !important;
    margin-bottom: 14px !important;
  }

  .hero-subtitle {
    max-width: 100% !important;
    margin: 0 0 18px !important;
    font-size: 0.98rem !important;
    line-height: 1.52 !important;
  }

  .hero-actions {
    margin-bottom: 14px !important;
    gap: 10px !important;
  }

  .hero-actions .btn {
    min-height: 50px !important;
    padding: 13px 18px !important;
    border-radius: 999px !important;
  }

  .hero-features {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  .hero-features .feature-item:nth-child(n+5) {
    display: none !important;
  }

  .feature-item {
    min-height: 48px !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 26px rgba(52, 97, 127, 0.08) !important;
  }

  .feature-item span:last-child {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
  }

  .hero-controls {
    display: flex !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 6px !important;
  }

  .hero-controls .slider-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .hero-controls .slider-dot {
    width: 6px !important;
    height: 6px !important;
  }

  .hero-controls .slider-dot.active {
    width: 18px !important;
  }

  .hero-image,
  .hero-slide-1 .hero-image,
  .hero-slide-2 .hero-image,
  .hero-slide-item.hero-slide-2 > .hero-image {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 228px !important;
    margin: 8px 0 0 !important;
    display: block !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #f7fbfe 0%, #edf6fb 32%, #f8fbfe 100%) !important;
    border: 1px solid rgba(223, 234, 242, 0.9) !important;
    box-shadow: 0 18px 38px rgba(52, 97, 127, 0.1) !important;
  }

  .hero-slide-2 .doctor-img,
  .hero-slide-item.hero-slide-2 > .hero-image .doctor-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    border-radius: 24px !important;
    box-shadow: none !important;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, #000 16%, #000 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, #000 16%, #000 100%) !important;
  }

  .hero-slide-item.hero-slide-2 > .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0) 32%),
      linear-gradient(180deg, rgba(13, 59, 102, 0.035) 0%, rgba(13, 59, 102, 0) 30%);
    pointer-events: none;
  }

  .hero-slide-1 .hero-image {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    background:
      radial-gradient(circle at 50% 18%, rgba(171, 206, 225, 0.32) 0%, rgba(171, 206, 225, 0.08) 28%, rgba(171, 206, 225, 0) 56%),
      linear-gradient(180deg, #f7fbfe 0%, #eef6fb 38%, #f8fbfe 100%) !important;
  }

  .hero-slide-1 .hero-image::before {
    content: "";
    position: absolute;
    inset: auto 12% 10px 12%;
    height: 26px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(52, 97, 127, 0.16) 0%, rgba(52, 97, 127, 0.04) 58%, rgba(52, 97, 127, 0) 100%);
    filter: blur(8px);
    z-index: 1;
    pointer-events: none;
  }

  .hero-slide-1 .doctor-img {
    position: relative !important;
    z-index: 2 !important;
    width: auto !important;
    max-width: none !important;
    height: 118% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    border-radius: 24px !important;
    padding: 0 !important;
    background: transparent !important;
    transform: translateY(6px) !important;
    filter: drop-shadow(0 16px 28px rgba(52, 97, 127, 0.16)) !important;
  }
}

@media (max-width: 768px) {
  .hero-slide-item,
  .hero-slide-item.active {
    min-height: auto !important;
    overflow: visible !important;
  }

  .hero-slide-item .container,
  .hero-slide-shell {
    position: relative !important;
    min-height: auto !important;
    height: auto !important;
  }

  .hero-slide-1 .hero-slide-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding-top: 76px !important;
  }

  .hero-slide-1 .hero-image {
    order: 1 !important;
  }

  .hero-slide-1 .hero-content {
    order: 2 !important;
  }

  .hero-slide-item.hero-slide-2.active {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 76px 20px 18px !important;
  }

  .hero-slide-item.hero-slide-2 > .hero-image {
    order: 1 !important;
  }

  .hero-slide-item.hero-slide-2 > .container {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .hero-content {
    position: relative !important;
    z-index: 4 !important;
    padding: 0 !important;
  }

  .hero-controls {
    justify-content: flex-start !important;
    margin-top: 12px !important;
  }

  .hero-image,
  .hero-slide-1 .hero-image,
  .hero-slide-2 .hero-image,
  .hero-slide-item.hero-slide-2 > .hero-image {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 238px !important;
    margin: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    border: 1px solid rgba(223, 234, 242, 0.9) !important;
    background: linear-gradient(180deg, #f7fbfe 0%, #edf6fb 32%, #f8fbfe 100%) !important;
    box-shadow: 0 18px 38px rgba(52, 97, 127, 0.1) !important;
  }

  .hero-slide-1 .hero-image {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .hero-slide-1 .hero-image::before {
    content: "" !important;
    position: absolute !important;
    inset: auto 10% 10px 10% !important;
    height: 28px !important;
    border-radius: 999px !important;
    background: radial-gradient(circle, rgba(52, 97, 127, 0.16) 0%, rgba(52, 97, 127, 0.04) 58%, rgba(52, 97, 127, 0) 100%) !important;
    filter: blur(8px) !important;
    z-index: 1 !important;
  }

  .hero-slide-1 .doctor-img {
    position: relative !important;
    z-index: 2 !important;
    width: auto !important;
    max-width: none !important;
    height: 108% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    border-radius: 24px !important;
    padding: 0 !important;
    background: transparent !important;
    transform: translateY(4px) !important;
    filter: drop-shadow(0 18px 30px rgba(52, 97, 127, 0.14)) !important;
  }

  .hero-slide-2 .doctor-img,
  .hero-slide-item.hero-slide-2 > .hero-image .doctor-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    border-radius: 24px !important;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, #000 14%, #000 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, #000 14%, #000 100%) !important;
  }

  .hero-slide-item.hero-slide-2 > .hero-image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 22%) !important;
    pointer-events: none !important;
  }
}

/* Pricing package cards polish */
#pricing {
  scroll-margin-top: 130px;
}

#pricing .p-tab-content:not(#packages) {
  padding: 0 !important;
}

#pricing .p-tab-content:not(#packages) .price-list {
  padding: 30px 60px 60px !important;
}

#pricing #packages .price-list {
  padding: 0 !important;
}

#pricing .price-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px !important;
  align-items: stretch !important;
  padding: 40px 60px 60px !important;
}

#pricing .p-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 300px !important;
  padding: 44px 30px 40px !important;
}

#pricing .p-card h4 {
  max-width: 260px !important;
  margin: 0 auto 18px !important;
  font-size: clamp(1.2rem, 1.45vw, 1.55rem) !important;
  line-height: 1.15 !important;
}

#pricing .p-card p {
  max-width: 250px !important;
  margin: 0 auto 28px !important;
  font-size: clamp(1rem, 1.05vw, 1.18rem) !important;
  line-height: 1.55 !important;
}

#pricing .p-card-price {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 190px !important;
  max-width: 100% !important;
  min-height: 82px !important;
  padding: 14px 30px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-height: 1 !important;
  font-size: clamp(1.75rem, 2.05vw, 2.35rem) !important;
  border-radius: 18px !important;
}

@media (max-width: 992px) {
  #pricing .price-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 30px !important;
  }
}

@media (max-width: 768px) {
  #pricing .p-tab-content:not(#packages) {
    padding: 0 !important;
  }

  #pricing .p-tab-content:not(#packages) .price-list {
    padding: 16px 18px 22px !important;
  }

  #pricing .price-cards {
    grid-template-columns: 1fr !important;
    padding: 22px !important;
  }

#pricing .p-card {
    min-height: auto !important;
  }
}

/* Hero slider design parity with source layout */
@media (min-width: 993px) {
  .hero {
    position: relative !important;
    background: #ffffff !important;
    min-height: 820px !important;
    overflow: hidden !important;
    padding-top: 0 !important;
  }

  .hero-bg-shape {
    position: absolute !important;
    top: 50% !important;
    right: -5% !important;
    transform: translateY(-50%) !important;
    width: 50% !important;
    height: 80% !important;
    background: radial-gradient(circle at center, rgba(171, 206, 225, 0.6) 0%, rgba(171, 206, 225, 0) 70%) !important;
    filter: blur(100px) !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .hero-slider-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 750px !important;
    min-height: 0 !important;
    padding: 0 !important;
    z-index: 2 !important;
  }

  .hero-slide-item {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: none !important;
    opacity: 0 !important;
    overflow: visible !important;
    transition: opacity 0.8s ease !important;
  }

  .hero-slide-item.active {
    display: block !important;
    opacity: 1 !important;
  }

  .hero-slide-shell {
    height: 100% !important;
    min-height: 0 !important;
  }

  .hero-content {
    padding: 135px 0 !important;
    max-width: 650px !important;
    position: relative !important;
    z-index: 10 !important;
    animation: none !important;
  }

  .hero-slide-2 .hero-content {
    max-width: 520px !important;
  }

  .hero-content .section-label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: var(--primary-light-blue) !important;
    letter-spacing: 3px !important;
    margin-bottom: 25px !important;
    display: block !important;
  }

  .hero-content h1 {
    white-space: normal !important;
    max-width: none !important;
    font-size: 4.8rem !important;
    line-height: 1.05 !important;
    color: var(--primary-dark-blue) !important;
    margin-bottom: 30px !important;
    font-weight: 700 !important;
    letter-spacing: -2px !important;
    text-wrap: normal !important;
  }

  .hero-content h1 span {
    color: var(--primary-orange) !important;
  }

  .hero-subtitle {
    display: block !important;
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    color: #5A7184 !important;
    margin: 0 0 50px !important;
    max-width: 440px !important;
    font-weight: 400 !important;
  }

  .hero-actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-bottom: 0 !important;
  }

  .hero-actions .btn {
    min-height: auto !important;
    padding: 14px 28px !important;
  }

  .hero-actions .btn-outline {
    background: transparent !important;
    color: var(--primary-dark-blue) !important;
    border: 1px solid var(--primary-light-blue) !important;
    box-shadow: none !important;
  }

  .hero-features {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 40px !important;
    margin-top: 60px !important;
    margin-bottom: 0 !important;
    max-width: none !important;
  }

  .feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .feature-item .icon {
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: var(--primary-orange) !important;
    font-size: 1.4rem !important;
  }

  .feature-item span,
  .feature-item span:last-child {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--primary-dark-blue) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    letter-spacing: 0 !important;
  }

  .hero-controls {
    margin-top: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 25px !important;
    position: relative !important;
    z-index: 100 !important;
  }

  .slider-btn {
    background: #fff !important;
    border: 1px solid #DEE6EB !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    color: var(--primary-dark-blue) !important;
    transform: none !important;
  }

  .slider-btn:hover {
    background: #fff !important;
    border-color: var(--primary-orange) !important;
    color: var(--primary-orange) !important;
    transform: none !important;
  }

  .slider-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #DEE6EB !important;
  }

  .slider-dot.active {
    background: var(--primary-orange) !important;
    width: 24px !important;
    border-radius: 10px !important;
  }

  .hero-image,
  .hero-slide-1 .hero-image,
  .hero-slide-2 .hero-image {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 80% !important;
    height: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 5 !important;
    pointer-events: none !important;
  }

  .hero-slide-1 .hero-image {
    width: 80% !important;
    right: 0 !important;
  }

  .hero-slide-1 .hero-image::before,
  .hero-slide-2 .hero-image::before,
  .hero-slide-2 .hero-image::after {
    content: none !important;
    display: none !important;
  }

  .hero-slide-1 .doctor-img {
    width: auto !important;
    height: 820px !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    margin-right: -15% !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    transform: none !important;
    filter: drop-shadow(0 20px 50px rgba(52, 97, 127, 0.15)) !important;
  }

  .hero-slide-2 .hero-image {
    width: 58% !important;
    right: 0 !important;
    justify-content: flex-end !important;
  }

  .hero-slide-2 .doctor-img {
    width: auto !important;
    height: 550px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    margin-right: 0 !important;
    padding: 0 !important;
    border-radius: 40px !important;
    box-shadow: 0 40px 100px rgba(52, 97, 127, 0.15) !important;
    transform: none !important;
    filter: saturate(1.05) !important;
    mask-image: linear-gradient(to right, transparent 0%, black 20%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%) !important;
  }
}

/* Hero team slide: match approved design screenshot */
@media (min-width: 993px) {
  .hero-slide-2 .hero-content {
    max-width: 760px !important;
    padding: 58px 0 0 !important;
    z-index: 30 !important;
  }

  .hero-slide-2 .hero-content .section-label {
    margin-bottom: 42px !important;
    letter-spacing: 7px !important;
    color: #b9d3e4 !important;
  }

  .hero-slide-2 .hero-content h1 {
    max-width: 760px !important;
    font-size: clamp(4.8rem, 5.68vw, 5.85rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -2px !important;
    margin-bottom: 24px !important;
  }

  .hero-slide-2 .hero-subtitle {
    max-width: 610px !important;
    font-size: 1.34rem !important;
    line-height: 1.72 !important;
    margin-bottom: 34px !important;
    color: #6d7f8f !important;
  }

  .hero-slide-2 .hero-actions {
    gap: 8px !important;
    margin-bottom: 0 !important;
  }

  .hero-slide-2 .hero-actions .btn {
    min-height: 64px !important;
    padding: 18px 38px !important;
    border-radius: 999px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
  }

  .hero-slide-2 .hero-actions .btn-primary {
    box-shadow: 0 18px 34px rgba(241, 78, 35, 0.22) !important;
  }

  .hero-slide-2 .hero-actions .btn-outline {
    min-width: 270px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    border-color: rgba(171, 206, 225, 0.92) !important;
    color: var(--primary-dark-blue) !important;
    box-shadow: none !important;
  }

  .hero-slide-2 .hero-features {
    display: grid !important;
    grid-template-columns: repeat(3, max-content) !important;
    gap: 28px 48px !important;
    max-width: 1150px !important;
    margin-top: 56px !important;
    position: relative !important;
    z-index: 35 !important;
  }

  .hero-slide-2 .feature-item {
    min-height: 64px !important;
    padding: 14px 34px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(244, 248, 251, 0.95) !important;
    box-shadow: 0 16px 42px rgba(52, 97, 127, 0.08) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .hero-slide-2 .feature-item .icon {
    color: var(--primary-orange) !important;
    font-size: 1.42rem !important;
  }

  .hero-slide-2 .feature-item span:last-child {
    color: var(--primary-dark-blue) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .hero-slide-2 .hero-controls {
    margin-top: 52px !important;
  }

  .hero-slide-2 .hero-image {
    top: 125px !important;
    right: calc((1200px - 100vw) / 2) !important;
    width: min(64vw, 940px) !important;
    height: 542px !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 0 0 40px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 4 !important;
  }

  .hero-slide-2 .doctor-img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 0 40px 0 !important;
    box-shadow: none !important;
    filter: saturate(1.04) !important;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.24) 9%, #000 22%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.24) 9%, #000 22%) !important;
  }
}

/* Hero team slide strict browser fit */
@media (min-width: 993px) {
  .hero .container,
  .hero-slide-shell {
    max-width: 1574px !important;
  }

  .hero-slide-2 .hero-content {
    max-width: 1080px !important;
    padding-top: 76px !important;
  }

  .hero-slide-2 .hero-content h1 {
    max-width: 1080px !important;
    font-size: clamp(5rem, 5.75vw, 6.25rem) !important;
    line-height: 0.94 !important;
    margin-bottom: 34px !important;
  }

  .hero-slide-2 .hero-subtitle {
    max-width: 660px !important;
    margin-bottom: 58px !important;
  }

  .hero-slide-2 .hero-actions .btn {
    min-height: 64px !important;
    padding: 18px 42px !important;
  }

  .hero-slide-2 .hero-actions .btn-outline {
    min-width: 320px !important;
  }

  .hero-slide-2 .hero-features {
    grid-template-columns: 280px 300px 360px !important;
    gap: 34px 56px !important;
    margin-top: 78px !important;
  }

  .hero-slide-2 .feature-item {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-slide-2 .hero-image {
    left: max(620px, 40vw) !important;
    right: 0 !important;
    top: 148px !important;
    width: auto !important;
    height: 542px !important;
    border-radius: 0 0 40px 0 !important;
  }

  .hero-slide-2 .doctor-img {
    object-position: center center !important;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.2) 7%, #000 19%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.2) 7%, #000 19%) !important;
  }
}

/* Source parity: team hero slide from ds.clinic-d.med */
@media (min-width: 993px) {
  .elementor-widget-ds_clinic_hero,
  .elementor-widget-ds_clinic_hero > .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
  }

  .elementor-widget-ds_clinic_hero .hero {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
  }

  .elementor-widget-ds_clinic_hero .hero .container {
    max-width: 1200px !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
  }

  .elementor-widget-ds_clinic_hero .hero {
    min-height: 840px !important;
    padding: 0 !important;
    background:
      linear-gradient(115deg, #ffffff 0%, #ffffff 38%, rgba(245, 250, 253, 0.82) 58%, #eef7fb 100%) !important;
    border-bottom-left-radius: 34px !important;
    border-bottom-right-radius: 34px !important;
    box-shadow: inset 0 -1px 0 rgba(52, 97, 127, 0.08) !important;
    overflow: hidden !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slider-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 750px !important;
    min-height: 0 !important;
    z-index: 2 !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-item {
    overflow: visible !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-item.active .hero-content {
    animation: heroTextIn 0.72s ease both !important;
  }

  .elementor-widget-ds_clinic_hero .hero-content {
    max-width: 760px !important;
    padding: 128px 0 70px !important;
    position: relative !important;
    z-index: 20 !important;
  }

  .elementor-widget-ds_clinic_hero .hero-content .section-label {
    color: #a9c7d9 !important;
    letter-spacing: 7px !important;
    font-size: 0.78rem !important;
    margin-bottom: 24px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-content h1 {
    white-space: normal !important;
    max-width: 980px !important;
    font-size: clamp(4.1rem, 4.6vw, 5rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
    margin-bottom: 24px !important;
    text-wrap: balance !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-2 .hero-content h1 span {
    display: inline-block !important;
    white-space: nowrap !important;
  }

  .elementor-widget-ds_clinic_hero .hero-subtitle {
    display: block !important;
    max-width: 440px !important;
    margin: 0 0 52px !important;
    color: #5f7485 !important;
    font-size: 1.08rem !important;
    line-height: 1.75 !important;
    font-weight: 500 !important;
  }

  .elementor-widget-ds_clinic_hero .hero-actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-bottom: 58px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-actions .btn {
    min-height: 54px !important;
    padding: 15px 28px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(171, 206, 225, 0.62) !important;
    color: var(--primary-dark-blue) !important;
    box-shadow: 0 12px 38px rgba(52, 97, 127, 0.07) !important;
  }

  .elementor-widget-ds_clinic_hero .hero-features {
    display: grid !important;
    grid-template-columns: repeat(3, max-content) !important;
    gap: 26px 28px !important;
    margin-top: 0 !important;
    max-width: 920px !important;
  }

  .elementor-widget-ds_clinic_hero .feature-item {
    min-height: 52px !important;
    padding: 11px 18px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(226, 236, 242, 0.78) !important;
    box-shadow: 0 18px 46px rgba(52, 97, 127, 0.08) !important;
  }

  .elementor-widget-ds_clinic_hero .feature-item .icon {
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(241, 78, 35, 0.1) !important;
    font-size: 1.05rem !important;
  }

  .elementor-widget-ds_clinic_hero .feature-item span:last-child {
    font-size: 0.92rem !important;
    letter-spacing: 0 !important;
  }

  .elementor-widget-ds_clinic_hero .hero-controls {
    margin-top: 60px !important;
    gap: 25px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-2 .hero-controls {
    margin-top: 24px !important;
  }

  .elementor-widget-ds_clinic_hero .slider-btn {
    width: 56px !important;
    height: 56px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    border-color: rgba(171, 206, 225, 0.46) !important;
    box-shadow: 0 18px 40px rgba(52, 97, 127, 0.1) !important;
  }

  .elementor-widget-ds_clinic_hero .slider-dot {
    width: 9px !important;
    height: 9px !important;
    background: rgba(52, 97, 127, 0.16) !important;
  }

  .elementor-widget-ds_clinic_hero .slider-dot.active {
    width: 32px !important;
    background: var(--primary-orange) !important;
  }

  .elementor-widget-ds_clinic_hero .hero-image,
  .elementor-widget-ds_clinic_hero .hero-slide-item.hero-slide-2 > .hero-image {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 58% !important;
    height: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 5 !important;
    pointer-events: none !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-item.hero-slide-2 > .hero-image {
    top: -10px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-2 .doctor-img,
  .elementor-widget-ds_clinic_hero .hero-slide-item.hero-slide-2 > .hero-image .doctor-img {
    width: auto !important;
    height: 700px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 40px !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    mask-image: linear-gradient(to right, transparent 0%, black 20%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%) !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-1 .hero-image {
    width: min(53vw, 960px) !important;
    right: 0 !important;
    top: 0 !important;
    height: 750px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-1 .doctor-img {
    width: auto !important;
    height: 820px !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: bottom right !important;
    margin-right: -25% !important;
    border-radius: 0 !important;
    background: transparent !important;
    transform: none !important;
    filter: drop-shadow(0 34px 70px rgba(52, 97, 127, 0.18)) !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-1 .hero-content,
  .elementor-widget-ds_clinic_hero .hero-slide-1 .hero-content h1,
  .elementor-widget-ds_clinic_hero .hero-slide-1 .hero-features,
  .elementor-widget-ds_clinic_hero .hero-slide-1 .hero-controls {
    max-width: 850px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-1 .hero-subtitle {
    max-width: 500px !important;
    margin: 0 0 63px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-1 .feature-item {
    min-height: 46px !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(226, 236, 242, 0.72) !important;
    box-shadow: 0 16px 40px rgba(52, 97, 127, 0.08) !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-1 .hero-controls {
    margin-top: 60px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-1 .slider-btn {
    width: 48px !important;
    height: 48px !important;
    box-shadow: none !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-1 .slider-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .elementor-widget-ds_clinic_hero .hero-slide-1 .slider-dot.active {
    width: 24px !important;
  }
}
