/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: clamp(500px, 70vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero-bg.jpg') center / cover no-repeat;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.82) 0%, rgba(11,110,197,0.65) 50%, rgba(46,150,230,0.55) 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 150, 230, 0.6) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(95, 179, 245, 0.5) 0%, transparent 70%);
  bottom: -80px;
  left: 10%;
  animation: float 15s ease-in-out infinite reverse;
}

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

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-block: var(--space-4xl);
}

.hero__title {
  color: var(--white);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-lg);
  letter-spacing: var(--tracking-tight);
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-block: var(--space-3xl);
  }

  .hero__content {
    padding-block: var(--space-2xl);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    text-align: center;
  }

  .hero__orb { display: none; }
}

/* ═══════════════════════════════════════════
   DOCTOR INTRO
   ═══════════════════════════════════════════ */
.doctor-intro {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Photo with blue background block */
.doctor-intro__image {
  position: relative;
  z-index: 1;
}

.doctor-intro__image::before {
  content: '';
  position: absolute;
  top: 30px;
  left: -20px;
  right: 20px;
  bottom: -20px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.12;
}

.doctor-intro__carousel {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.doctor-intro__slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.doctor-intro__slide--active {
  position: relative;
  opacity: 1;
}

.doctor-intro__photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-lg);
}

/* Dot indicators */
.doctor-intro__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-lg);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: background var(--duration-fast) var(--ease-out);
}

.dot--active {
  background: var(--primary);
}

/* Content */
.doctor-intro__content {
  padding-top: var(--space-md);
}

.doctor-intro__content h2 {
  margin-bottom: var(--space-lg);
  font-size: var(--text-3xl);
}

.doctor-intro__content p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

/* Specialties */
.doctor-intro__specialties {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
}

.specialty-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-md);
}

.specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-xl);
  list-style: none;
  padding: 0;
}

.specialty-list li {
  position: relative;
  padding-left: 16px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-heading);
}

.specialty-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* ═══════════════════════════════════════════
   REVIEWS CAROUSEL
   ═══════════════════════════════════════════ */
.reviews-carousel {
  position: relative;
  padding: 0 48px;
}

.reviews-carousel__track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.reviews-carousel__track::-webkit-scrollbar {
  display: none;
}

.reviews-carousel__track .testimonial {
  flex: 0 0 calc(33.333% - var(--space-lg) * 2 / 3);
  scroll-snap-align: start;
  min-width: 280px;
}

.reviews-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.reviews-carousel__arrow:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}

.reviews-carousel__arrow--left { left: 0; }
.reviews-carousel__arrow--right { right: 0; }

@media (max-width: 1024px) {
  .reviews-carousel__track .testimonial {
    flex: 0 0 calc(50% - var(--space-lg) / 2);
  }
}

@media (max-width: 640px) {
  .reviews-carousel {
    padding: 0 36px;
  }
  .reviews-carousel__track .testimonial {
    flex: 0 0 85%;
  }
}

@media (max-width: 768px) {
  .doctor-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-intro__image {
    max-width: 320px;
    margin-inline: auto;
  }

  .doctor-intro__image::before {
    left: -10px;
    right: 10px;
    top: 20px;
    bottom: -10px;
  }

  .doctor-intro__specialties {
    text-align: left;
  }

  .specialty-list {
    justify-content: center;
  }
}
