.vet-section {
  position: relative;
  isolation: isolate;
  padding: 56px 40px 64px;
  font-family: 'Roboto', sans-serif;
  background: #f9f9f9;
}

.vet-heading {
  margin: 0 0 32px;
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.3px;
  color: #1d1d1d;
}

.vet-card {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 36px;
  padding: 22px;
  background: #fff;
  border: 2px solid #5DB9B3;;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(46, 125, 119, 0.12),
              0 2px 6px rgba(0, 0, 0, 0.05);
}

.vet-info {
  padding: 22px 4px 14px 26px;
}

.vet-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: #50958f ;
}

.vet-paw {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: #50958f;;
  transform: rotate(-14deg);
}

.vet-title {
  margin: 6px 0 0;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #3E9C95;
}

.vet-divider {
  display: block;
  width: 56px;
  height: 3px;
  margin: 10px auto 22px;
  border-radius: 3px;
  background: #3E9C95;;
  opacity: 0.6;
}

.vet-bio p {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.7;
  color: #1d1d1d;
}

.vet-bio p:last-child {
  margin-bottom: 0;
}

.vet-bio .vet-closing {
  padding-left: 14px;
  border-left: 3px solid #3E9C95;
  font-weight: 500;
  color: #3E9C95;
}

.vet-photo {
  position: relative;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #e6efee;
}

.vet-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 40%;
}

@media (max-width: 1280px) {
  .vet-card {
    width: 88%;
  }
}

@media (max-width: 900px) {
  .vet-section {
    padding: 40px 20px 48px;
  }
  .vet-heading {
    font-size: 28px;
    margin-bottom: 24px;
  }
  .vet-card {
    width: 100%;
    max-width: 640px;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
  }
  .vet-photo {
    order: -1;
    min-height: 0;
    aspect-ratio: 5 / 4;
  }
  .vet-info {
    padding: 18px 10px 12px;
  }
  .vet-name {
    font-size: 25px;
  }
  .vet-paw {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 600px) {
  .vet-photo {
    aspect-ratio: 1 / 1;
  }
  .vet-name {
    font-size: 23px;
  }
  .vet-title {
    font-size: 16px;
  }
  .vet-bio p {
    font-size: 15px;
    line-height: 1.65;
  }
}
