.videoservices {
  width: 100%;
  height: 80vh; /* Para desktop: el video ocupa toda la pantalla */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  position: relative;
}

.vidservices {
  height: 100%;
  object-fit: contain; /* Para desktop, que se vea completo */
  display: block;
}
.services-section {
  background-color: #014d53;
  padding: 80px 20px;
  text-align: center;
}

.services-section h2 {
  font-family: 'Crimson Text', serif;
  font-size: 4rem;
  color: white;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: white;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 50px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.6rem;
  color: #014d52;
  margin-bottom: 15px;
  font-weight: bold;
}

.service-card p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #014d53;
}
.scheduling-section {
  background-color: #000;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.scheduling-section h2 {
  font-family: 'Crimson Text', serif;
  font-size: 4rem;
  color: white;
  margin-bottom: 40px;
}

.scheduling-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.scheduling-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  display: block;
}

.scheduling-info {
  flex: 1 1 400px;
  max-width: 600px;
}

.scheduling-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 30px;
}

.scheduling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.scheduling-card {
  font-family: 'Inter', sans-serif;
  background-color: white;
  color: #014d52;
  padding: 20px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scheduling-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.specialized-care {
  background-color: #f8f8f8;
  padding: 40px 20px;
  text-align: center;
}

.specialized-care h2 {
  font-family: 'Crimson Text', serif;
  font-size: 4rem;
  color: #014d52;
  margin-bottom: 10px;
}

.specialized-care .subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: #014d52;
  margin-bottom: 30px;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.care-card {
  font-family: 'Inter', sans-serif;
  background-color: #014d52;
  color: white;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.2rem;
  line-height: 1.5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.care-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.start-section {
  display: flex;
  flex-wrap: wrap;
  background-color: #014D4E;
  color: white;
  align-items: center;
  justify-content: center; /* Centramos para evitar problemas */
  padding: 60px 20px;
  font-family: 'Crimson Text', serif;
}

.start-text,
.start-image {
  flex: 1 1 400px;
  max-width: 500px;
  text-align: center;
}

.start-text h2 {
  font-family: 'Crimson Text', serif;
  font-size: 4rem;
  margin-bottom: 20px;
}

.start-text p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  padding: 10px;
}

.start-button {
  background-color: #00E1D4;
  color: #003f43;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
}

.start-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .videoservices {
    height: 250px; /* O la altura que prefieras */
    padding-top: 60px; /* agregamos espacio arriba */
  }

  .vidservices {
    width: 132%;
    height: 100%;
    object-position: center bottom; /* ¡Baja la imagen para que no corte arriba! */
    display: block;
  }
  .start-section {
    padding: 40px 40px; /* Mucho más estrecho */
  }

  .start-text h2 {
    font-size: 26px;
  }

  .start-text p {
    font-size: 16px;
  }

  .start-button {
    font-size: 14px;
  }
  .start-image {
    margin-top: 30px; /* Espacio extra antes de la imagen */
  }
}